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

Unified Diff: LayoutTests/svg/dom/SVGStringList-basics-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/svg/dom/SVGStringList-basics-expected.txt
diff --git a/LayoutTests/svg/dom/SVGStringList-basics-expected.txt b/LayoutTests/svg/dom/SVGStringList-basics-expected.txt
index 9a23f7383844434a8381a754e1681e3001452f42..4125b2eb01790236001329572e539fb3a2db8ee3 100644
--- a/LayoutTests/svg/dom/SVGStringList-basics-expected.txt
+++ b/LayoutTests/svg/dom/SVGStringList-basics-expected.txt
@@ -25,7 +25,7 @@ PASS text1.requiredFeatures.getItem(0) is "aString"
PASS text1.getAttribute('requiredFeatures') is "aString"
Test uncommon arguments for getItem()
-PASS text1.requiredFeatures.getItem(30) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS text1.requiredFeatures.getItem(30) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS text1.requiredFeatures.getItem('aString') is text1.requiredFeatures.getItem(0)
PASS text1.requiredFeatures.getItem(text1) is text1.requiredFeatures.getItem(0)
PASS text1.requiredFeatures.getItem(null) is text1.requiredFeatures.getItem(0)
@@ -35,10 +35,10 @@ PASS text1.requiredFeatures.insertItemBefore(30) threw exception TypeError: Not
PASS text1.requiredFeatures.insertItemBefore('aString') threw exception TypeError: Not enough arguments.
PASS text1.requiredFeatures.insertItemBefore(text1) threw exception TypeError: Not enough arguments.
PASS text1.requiredFeatures.insertItemBefore(null) threw exception TypeError: Not enough arguments.
-PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1), 'aString') threw exception Error: IndexSizeError: DOM Exception 1.
-PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1), text1) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1), null) threw exception Error: IndexSizeError: DOM Exception 1.
-PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1), 0) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1), 'aString') threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1), text1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1), null) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1), 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS text1.requiredFeatures.insertItemBefore(30, 0) is "30"
PASS text1.requiredFeatures.numberOfItems is 2
PASS text1.requiredFeatures.getItem(0) is "30"
@@ -148,7 +148,7 @@ PASS text1.requiredFeatures.getItem(3) is "4"
PASS text1.getAttribute('requiredFeatures') is "1 2 3 4"
Test uncommon arguments for removeItem()
-PASS text1.requiredFeatures.removeItem(30) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS text1.requiredFeatures.removeItem(30) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS text1.requiredFeatures.removeItem('aString') is "1"
PASS text1.requiredFeatures.numberOfItems is 3
PASS text1.getAttribute('requiredFeatures') is "2 3 4"
« no previous file with comments | « LayoutTests/svg/dom/SVGPreserveAspectRatio-expected.txt ('k') | LayoutTests/svg/dom/SVGTransformList-basics-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698