Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Issue 131483008: Correctly report TypeError for HTML{Meter,Progress}Element setters. (Closed)

Created:
6 years, 10 months ago by sof
Modified:
6 years, 10 months ago
CC:
blink-reviews, dglazkov+blink, adamk+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

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= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165959

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -28 lines) Patch
M LayoutTests/fast/dom/HTMLMeterElement/script-tests/set-meter-properties.js View 1 chunk +6 lines, -6 lines 0 comments Download
M LayoutTests/fast/dom/HTMLMeterElement/set-meter-properties-expected.txt View 1 chunk +6 lines, -6 lines 0 comments Download
M LayoutTests/fast/dom/HTMLProgressElement/script-tests/set-progress-properties.js View 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/dom/HTMLProgressElement/set-progress-properties-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/html/HTMLMeterElement.cpp View 6 chunks +6 lines, -6 lines 0 comments Download
M Source/core/html/HTMLProgressElement.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
sof
When you next have a spare moment, please take a look. There are some other ...
6 years, 10 months ago (2014-01-28 16:59:50 UTC) #1
Mike West
Matching Gecko's exceptions LGTM.
6 years, 10 months ago (2014-01-28 17:47:32 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/131483008/1
6 years, 10 months ago (2014-01-28 18:24:05 UTC) #3
commit-bot: I haz the power
6 years, 10 months ago (2014-01-28 19:46:34 UTC) #4
Message was sent while issue was closed.
Change committed as 165959

Powered by Google App Engine
This is Rietveld 408576698