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

Unified Diff: LayoutTests/fast/html/marquee-element-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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/html/marquee-element-expected.txt
diff --git a/LayoutTests/fast/html/marquee-element-expected.txt b/LayoutTests/fast/html/marquee-element-expected.txt
index 194944927daf4abb63e11281181ec3e50bb63e48..015b1214e83a0ad98e5aa719b402c828dd64798c 100644
--- a/LayoutTests/fast/html/marquee-element-expected.txt
+++ b/LayoutTests/fast/html/marquee-element-expected.txt
@@ -68,9 +68,9 @@ PASS marquee.scrollAmount is 5
"scrollAmount" can contain trailing non-numeric values:
PASS marquee.scrollAmount is 5
Setting "scrollAmount" to a negative value raises an exception:
-PASS document.getElementById("marquee").scrollAmount = -1; threw exception Error: IndexSizeError: DOM Exception 1.
+PASS document.getElementById("marquee").scrollAmount = -1; threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
Setting "scrollAmount" to a value that is too large raises an exception:
-PASS document.getElementById("marquee").scrollAmount = 2147483648; threw exception Error: IndexSizeError: DOM Exception 1.
+PASS document.getElementById("marquee").scrollAmount = 2147483648; threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
Default "scrollDelay" value is 85:
PASS marquee.scrollDelay is 85
"scrollDelay" uses default value when content attribute is not a number:
@@ -88,9 +88,9 @@ PASS marquee.scrollDelay is 5
"scrollDelay" can contain trailing non-numeric values:
PASS marquee.scrollDelay is 5
Setting "scrollDelay" to a negative value raises an exception:
-PASS document.getElementById("marquee").scrollDelay = -1; threw exception Error: IndexSizeError: DOM Exception 1.
+PASS document.getElementById("marquee").scrollDelay = -1; threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
Setting "scrollDelay" to a value that is too large raises an exception:
-PASS document.getElementById("marquee").scrollDelay = 2147483648; threw exception Error: IndexSizeError: DOM Exception 1.
+PASS document.getElementById("marquee").scrollDelay = 2147483648; threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
Default "loop" value is -1:
PASS marquee.loop is -1
"loop" uses default value when content attribute is not a number:
@@ -110,9 +110,9 @@ PASS marquee.loop is 5
"loop" can contain trailing non-numeric values:
PASS marquee.loop is 5
Setting "loop" to 0 raises an exception:
-PASS document.getElementById("marquee").loop = 0; threw exception Error: IndexSizeError: DOM Exception 1.
+PASS document.getElementById("marquee").loop = 0; threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
Setting "loop" to a negative value raises an exception:
-PASS document.getElementById("marquee").scrollDelay = -5; threw exception Error: IndexSizeError: DOM Exception 1.
+PASS document.getElementById("marquee").scrollDelay = -5; threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
"loop" can be set to -1 by script:
PASS marquee.loop is -1
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698