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

Unified Diff: LayoutTests/fast/dom/HTMLMeterElement/set-meter-properties-expected.txt

Issue 131483008: Correctly report TypeError for HTML{Meter,Progress}Element setters. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/HTMLMeterElement/set-meter-properties-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLMeterElement/set-meter-properties-expected.txt b/LayoutTests/fast/dom/HTMLMeterElement/set-meter-properties-expected.txt
index bd522e6884c874b7ac563f3f9bbc03b24336aa30..9f26b6e836617804f4e1abcc5144b27b03fa112f 100644
--- a/LayoutTests/fast/dom/HTMLMeterElement/set-meter-properties-expected.txt
+++ b/LayoutTests/fast/dom/HTMLMeterElement/set-meter-properties-expected.txt
@@ -44,17 +44,17 @@ PASS m.low is 0.0
PASS m.high is 200.0
PASS m.optimum is 12.5
Set value to invalid value
-PASS m.value = "value"; threw exception NotSupportedError: Failed to set the 'value' property on 'HTMLMeterElement': The value provided is not a number..
+PASS m.value = "value"; threw exception TypeError: Failed to set the 'value' property on 'HTMLMeterElement': The value provided is not a number..
Set min to NaN
-PASS m.min = NaN; threw exception NotSupportedError: Failed to set the 'min' property on 'HTMLMeterElement': The value provided is not a number..
+PASS m.min = NaN; threw exception TypeError: Failed to set the 'min' property on 'HTMLMeterElement': The value provided is not a number..
Set max to Infinity
-PASS m.max = Infinity; threw exception NotSupportedError: Failed to set the 'max' property on 'HTMLMeterElement': The value provided is infinite..
+PASS m.max = Infinity; threw exception TypeError: Failed to set the 'max' property on 'HTMLMeterElement': The value provided is infinite..
Set low to invalid value
-PASS m.low = "low"; threw exception NotSupportedError: Failed to set the 'low' property on 'HTMLMeterElement': The value provided is not a number..
+PASS m.low = "low"; threw exception TypeError: Failed to set the 'low' property on 'HTMLMeterElement': The value provided is not a number..
Set high to NaN
-PASS m.high = NaN; threw exception NotSupportedError: Failed to set the 'high' property on 'HTMLMeterElement': The value provided is not a number..
+PASS m.high = NaN; threw exception TypeError: Failed to set the 'high' property on 'HTMLMeterElement': The value provided is not a number..
Set optimum to Infinity
-PASS m.optimum = Infinity; threw exception NotSupportedError: Failed to set the 'optimum' property on 'HTMLMeterElement': The value provided is infinite..
+PASS m.optimum = Infinity; threw exception TypeError: Failed to set the 'optimum' property on 'HTMLMeterElement': The value provided is infinite..
Set attributes to valid numbers
PASS m.value is 5
PASS m.max is 10

Powered by Google App Engine
This is Rietveld 408576698