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

Unified Diff: LayoutTests/svg/dom/SVGNumberList-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
« no previous file with comments | « LayoutTests/svg/dom/SVGMatrix-interface-expected.txt ('k') | LayoutTests/svg/dom/SVGPaint-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/SVGNumberList-basics-expected.txt
diff --git a/LayoutTests/svg/dom/SVGNumberList-basics-expected.txt b/LayoutTests/svg/dom/SVGNumberList-basics-expected.txt
index 4d090be4328fbecd1e0a4a7f5cdd97059ff7a864..2b63df9d750dad5332d869dd0004f4927eacf30f 100644
--- a/LayoutTests/svg/dom/SVGNumberList-basics-expected.txt
+++ b/LayoutTests/svg/dom/SVGNumberList-basics-expected.txt
@@ -12,10 +12,10 @@ Test uncommon arguments for initialize()
PASS text1.rotate.baseVal.initialize(30) threw exception TypeError: Type error.
PASS text1.rotate.baseVal.initialize('aString') threw exception TypeError: Type error.
PASS text1.rotate.baseVal.initialize(text1) threw exception TypeError: Type error.
-PASS text1.rotate.baseVal.initialize(null) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0.
+PASS text1.rotate.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.rotate.baseVal.getItem(30) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS text1.rotate.baseVal.getItem(30) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS text1.rotate.baseVal.getItem('aString') is text1.rotate.baseVal.getItem(0)
PASS text1.rotate.baseVal.getItem(text1) is text1.rotate.baseVal.getItem(0)
PASS text1.rotate.baseVal.getItem(null) is text1.rotate.baseVal.getItem(0)
@@ -52,7 +52,7 @@ PASS text1.getAttribute('rotate') is "90 180 270"
PASS text1.rotate.baseVal.insertItemBefore(30, 0) threw exception TypeError: Type error.
PASS text1.rotate.baseVal.insertItemBefore('aString', 0) threw exception TypeError: Type error.
PASS text1.rotate.baseVal.insertItemBefore(text1, 0) threw exception TypeError: Type error.
-PASS text1.rotate.baseVal.insertItemBefore(null, 0) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0.
+PASS text1.rotate.baseVal.insertItemBefore(null, 0) threw exception SVG_WRONG_TYPE_ERR: An object of the wrong type was passed to an operation..
Set rotate='1 2 3 4' for text1
PASS text1.setAttribute('rotate', '1 2 3 4') is undefined.
@@ -71,7 +71,7 @@ PASS text1.rotate.baseVal.replaceItem(null) threw exception TypeError: Not enoug
PASS text1.rotate.baseVal.replaceItem(30, 0) threw exception TypeError: Type error.
PASS text1.rotate.baseVal.replaceItem('aString', 0) threw exception TypeError: Type error.
PASS text1.rotate.baseVal.replaceItem(text1, 0) threw exception TypeError: Type error.
-PASS text1.rotate.baseVal.replaceItem(null, 0) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0.
+PASS text1.rotate.baseVal.replaceItem(null, 0) threw exception SVG_WRONG_TYPE_ERR: An object of the wrong type was passed to an operation..
PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), 0) is text1.rotate.baseVal.getItem(0)
PASS text1.rotate.baseVal.numberOfItems is 4
PASS text1.rotate.baseVal.getItem(0).value is 1
@@ -97,7 +97,7 @@ Set rotate='1 2 3 4' for text1
PASS text1.setAttribute('rotate', '1 2 3 4') is undefined.
Test uncommon arguents for removeItem()
-PASS text1.rotate.baseVal.removeItem(30) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS text1.rotate.baseVal.removeItem(30) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS text1.rotate.baseVal.removeItem('aString').value is 1
PASS text1.rotate.baseVal.numberOfItems is 3
PASS text1.rotate.baseVal.getItem(0).value is 2
@@ -118,10 +118,10 @@ Test uncommon arguments for appendItem()
PASS text1.rotate.baseVal.appendItem(30) threw exception TypeError: Type error.
PASS text1.rotate.baseVal.appendItem('aString') threw exception TypeError: Type error.
PASS text1.rotate.baseVal.appendItem(text1) threw exception TypeError: Type error.
-PASS text1.rotate.baseVal.appendItem(null) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0.
+PASS text1.rotate.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.rotate.animVal.clear() threw exception Error: NoModificationAllowedError: DOM Exception 7.
+PASS text1.rotate.animVal.clear() threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
PASS text1.rotate.baseVal.clear() is undefined.
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/svg/dom/SVGMatrix-interface-expected.txt ('k') | LayoutTests/svg/dom/SVGPaint-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698