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

Unified Diff: LayoutTests/svg/dom/SVGLengthList-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/SVGLengthList-basics-expected.txt
diff --git a/LayoutTests/svg/dom/SVGLengthList-basics-expected.txt b/LayoutTests/svg/dom/SVGLengthList-basics-expected.txt
index f66e8f87a778375b10a0fa4b4186978b41b273b2..1582541af8a4e9862166f71ea7ace82d265138c7 100644
--- a/LayoutTests/svg/dom/SVGLengthList-basics-expected.txt
+++ b/LayoutTests/svg/dom/SVGLengthList-basics-expected.txt
@@ -15,10 +15,10 @@ Test uncommon arguments for initialize()
PASS text1.x.baseVal.initialize(30) threw exception TypeError: Type error.
PASS text1.x.baseVal.initialize('aString') threw exception TypeError: Type error.
PASS text1.x.baseVal.initialize(text1) threw exception TypeError: Type error.
-PASS text1.x.baseVal.initialize(null) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0.
+PASS text1.x.baseVal.initialize(null) threw exception SVG_WRONG_TYPE_ERR: An object of the wrong type was passed to an operation..
Test uncommon arguments for getItem()
-PASS text1.x.baseVal.getItem(30) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS text1.x.baseVal.getItem(30) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS text1.x.baseVal.getItem('aString') is text1.x.baseVal.getItem(0)
PASS text1.x.baseVal.getItem(text1) is text1.x.baseVal.getItem(0)
PASS text1.x.baseVal.getItem(null) is text1.x.baseVal.getItem(0)
@@ -55,7 +55,7 @@ PASS text1.getAttribute('x') is "500 1000 1500"
PASS text1.x.baseVal.insertItemBefore(30, 0) threw exception TypeError: Type error.
PASS text1.x.baseVal.insertItemBefore('aString', 0) threw exception TypeError: Type error.
PASS text1.x.baseVal.insertItemBefore(text1, 0) threw exception TypeError: Type error.
-PASS text1.x.baseVal.insertItemBefore(null, 0) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0.
+PASS text1.x.baseVal.insertItemBefore(null, 0) threw exception SVG_WRONG_TYPE_ERR: An object of the wrong type was passed to an operation..
Set x='1 2 3 4' for text1
PASS text1.setAttribute('x', '1 2 3 4') is undefined.
@@ -85,7 +85,7 @@ PASS text1.x.baseVal.replaceItem(null) threw exception TypeError: Not enough arg
PASS text1.x.baseVal.replaceItem(30, 0) threw exception TypeError: Type error.
PASS text1.x.baseVal.replaceItem('aString', 0) threw exception TypeError: Type error.
PASS text1.x.baseVal.replaceItem(text1, 0) threw exception TypeError: Type error.
-PASS text1.x.baseVal.replaceItem(null, 0) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0.
+PASS text1.x.baseVal.replaceItem(null, 0) threw exception SVG_WRONG_TYPE_ERR: An object of the wrong type was passed to an operation..
PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), 0) is text1.x.baseVal.getItem(0)
PASS text1.x.baseVal.numberOfItems is 4
PASS text1.x.baseVal.getItem(0).value is 1
@@ -114,13 +114,13 @@ PASS text1.getAttribute('x') is "1 2 3 4"
PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(1), 3) is text1.x.baseVal.getItem(2)
PASS text1.x.baseVal.numberOfItems is 3
PASS text1.getAttribute('x') is "1 3 2"
-PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(3), 4) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(3), 4) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
Set x='1 2 3 4' for text1
PASS text1.setAttribute('x', '1 2 3 4') is undefined.
Test uncommon arguments for removeItem()
-PASS text1.x.baseVal.removeItem(30) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS text1.x.baseVal.removeItem(30) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS text1.x.baseVal.removeItem(0).value is 1
PASS text1.x.baseVal.numberOfItems is 3
PASS text1.x.baseVal.getItem(0).value is 2
@@ -137,10 +137,10 @@ Test uncommon arguments for appendItem()
PASS text1.x.baseVal.appendItem(30) threw exception TypeError: Type error.
PASS text1.x.baseVal.appendItem('aString') threw exception TypeError: Type error.
PASS text1.x.baseVal.appendItem(text1) threw exception TypeError: Type error.
-PASS text1.x.baseVal.appendItem(null) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0.
+PASS text1.x.baseVal.appendItem(null) threw exception SVG_WRONG_TYPE_ERR: An object of the wrong type was passed to an operation..
Testing animVal clear throws
-PASS text1.x.animVal.clear() threw exception Error: NoModificationAllowedError: DOM Exception 7.
+PASS text1.x.animVal.clear() threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
PASS text1.x.baseVal.clear() is undefined.
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/svg/dom/SVGLengthList-appendItem-expected.txt ('k') | LayoutTests/svg/dom/SVGLengthList-getItem-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698