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

Unified Diff: LayoutTests/fast/dom/HTMLProgressElement/set-progress-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/HTMLProgressElement/set-progress-properties-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLProgressElement/set-progress-properties-expected.txt b/LayoutTests/fast/dom/HTMLProgressElement/set-progress-properties-expected.txt
index 88075f712c04d6f9ccad14d556a70d80b2f44a2c..d154c0f69f2cb0d0adcf3b0c4f6489c9fcaf5561 100644
--- a/LayoutTests/fast/dom/HTMLProgressElement/set-progress-properties-expected.txt
+++ b/LayoutTests/fast/dom/HTMLProgressElement/set-progress-properties-expected.txt
@@ -19,13 +19,13 @@ Set value less than zero
PASS p.value is 0
PASS p.position is 0
Set invalid value, should throw
-PASS p.value = "200A"; threw exception NotSupportedError: Failed to set the 'value' property on 'HTMLProgressElement': The value provided is not a number..
+PASS p.value = "200A"; threw exception TypeError: Failed to set the 'value' property on 'HTMLProgressElement': The value provided is not a number..
Set invalid max, should throw
-PASS p.max = "max"; threw exception NotSupportedError: Failed to set the 'max' property on 'HTMLProgressElement': The value provided is not a number..
+PASS p.max = "max"; threw exception TypeError: Failed to set the 'max' property on 'HTMLProgressElement': The value provided is not a number..
Set max to Infinity, should throw
-PASS p.max = Infinity; threw exception NotSupportedError: Failed to set the 'max' property on 'HTMLProgressElement': The value provided is infinite..
+PASS p.max = Infinity; threw exception TypeError: Failed to set the 'max' property on 'HTMLProgressElement': The value provided is infinite..
Set value to NaN, should throw
-PASS p.value = NaN; threw exception NotSupportedError: Failed to set the 'value' property on 'HTMLProgressElement': The value provided is not a number..
+PASS p.value = NaN; threw exception TypeError: Failed to set the 'value' property on 'HTMLProgressElement': The value provided is not a number..
Set value to null and max to 0
PASS p.value is 0
PASS p.max is 1

Powered by Google App Engine
This is Rietveld 408576698