Verify that default Web Notification values are properly set.

This addresses Andrew's review comments from patch 66133003. The Web
observable change this CL introduces is that notification.dir now
defaults to "auto" rather than an empty string.

BUG=318746

Review URL: https://codereview.chromium.org/69083003

git-svn-id: svn://svn.chromium.org/blink/trunk@162558 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Have the HTMLSelectElement setter throw TypeError.

If an argument that fails to convert to 'HTMLOptionElement?' is passed
to the option setter/remover on HTMLSelectElement, throw TypeError.

This follows WebIDL and Gecko. Other implementations don't throw, but
ignore such operations.

R=
BUG=270033

Review URL: https://codereview.chromium.org/83743002

git-svn-id: svn://svn.chromium.org/blink/trunk@162559 bbb929c8-8fbe-4397-9dbb-9b2b20218538