Correctly report TypeError for HTML{Meter,Progress}Element setters.

For the IDL attributes with a 'double' type on <meter> and <progress>,
throw the WebIDL-required TypeError if the value being set isn't finite,

  http://heycam.github.io/webidl/#es-double

Reporting TypeError rather than NotSupportedError also aligns with
Gecko. (Trident doesn't throw.)

R=
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165959 bbb929c8-8fbe-4397-9dbb-9b2b20218538
6 files changed
tree: 0e6a3f0bca3aa177adfff7fe09f387392bd170b6
  1. third_party/