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

Unified Diff: LayoutTests/svg/dom/SVGTransformList-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/SVGTransformList-basics-expected.txt
diff --git a/LayoutTests/svg/dom/SVGTransformList-basics-expected.txt b/LayoutTests/svg/dom/SVGTransformList-basics-expected.txt
index 20411630234b12b759ed8e674d9b5c4341878a76..3759abd445985c41e9143b9947ebab75828c057d 100644
--- a/LayoutTests/svg/dom/SVGTransformList-basics-expected.txt
+++ b/LayoutTests/svg/dom/SVGTransformList-basics-expected.txt
@@ -13,10 +13,10 @@ Test uncommon arguments for initialize()
PASS circle1.transform.baseVal.initialize(30) threw exception TypeError: Type error.
PASS circle1.transform.baseVal.initialize('aString') threw exception TypeError: Type error.
PASS circle1.transform.baseVal.initialize(circle1) threw exception TypeError: Type error.
-PASS circle1.transform.baseVal.initialize(null) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0.
+PASS circle1.transform.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 circle1.transform.baseVal.getItem(30) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS circle1.transform.baseVal.getItem(30) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS circle1.transform.baseVal.getItem('aString') is circle1.transform.baseVal.getItem(0)
PASS circle1.transform.baseVal.getItem(circle1) is circle1.transform.baseVal.getItem(0)
PASS circle1.transform.baseVal.getItem(null) is circle1.transform.baseVal.getItem(0)
@@ -49,7 +49,7 @@ PASS circle1.getAttribute('transform') is "scale(2 2) translate(10 10)"
PASS circle1.transform.baseVal.insertItemBefore(30, 0) threw exception TypeError: Type error.
PASS circle1.transform.baseVal.insertItemBefore('aString', 0) threw exception TypeError: Type error.
PASS circle1.transform.baseVal.insertItemBefore(circle1, 0) threw exception TypeError: Type error.
-PASS circle1.transform.baseVal.insertItemBefore(null, 0) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0.
+PASS circle1.transform.baseVal.insertItemBefore(null, 0) threw exception SVG_WRONG_TYPE_ERR: An object of the wrong type was passed to an operation..
Set transform='rotate(90) scale(2 2) translate(10 10) skewX(45)' for circle1
PASS circle1.setAttribute('transform', 'rotate(90) scale(2 2) translate(10 10) skewX(45)') is undefined.
@@ -68,7 +68,7 @@ PASS circle1.transform.baseVal.replaceItem(null) threw exception TypeError: Not
PASS circle1.transform.baseVal.replaceItem(30, 0) threw exception TypeError: Type error.
PASS circle1.transform.baseVal.replaceItem('aString', 0) threw exception TypeError: Type error.
PASS circle1.transform.baseVal.replaceItem(circle1, 0) threw exception TypeError: Type error.
-PASS circle1.transform.baseVal.replaceItem(null, 0) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0.
+PASS circle1.transform.baseVal.replaceItem(null, 0) threw exception SVG_WRONG_TYPE_ERR: An object of the wrong type was passed to an operation..
PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0), 0) is circle1.transform.baseVal.getItem(0)
PASS circle1.transform.baseVal.numberOfItems is 4
PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]"
@@ -98,7 +98,7 @@ Set transform='rotate(90) scale(2 2) translate(10 10) skewX(45)' for circle1
PASS circle1.setAttribute('transform', 'rotate(90) scale(2 2) translate(10 10) skewX(45)') is undefined.
Test uncommon arguments for removeItem()
-PASS circle1.transform.baseVal.removeItem(30) threw exception Error: IndexSizeError: DOM Exception 1.
+PASS circle1.transform.baseVal.removeItem(30) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS dumpTransform(circle1.transform.baseVal.removeItem(0)) is "type=SVG_TRANSFORM_ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]"
PASS circle1.transform.baseVal.numberOfItems is 3
PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]"
@@ -119,10 +119,10 @@ Test uncommon arguments for appendItem()
PASS circle1.transform.baseVal.appendItem(30) threw exception TypeError: Type error.
PASS circle1.transform.baseVal.appendItem('aString') threw exception TypeError: Type error.
PASS circle1.transform.baseVal.appendItem(circle1) threw exception TypeError: Type error.
-PASS circle1.transform.baseVal.appendItem(null) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0.
+PASS circle1.transform.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 circle1.transform.animVal.clear() threw exception Error: NoModificationAllowedError: DOM Exception 7.
+PASS circle1.transform.animVal.clear() threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
PASS circle1.transform.baseVal.clear() is undefined.
Creating new SVGTransform, with 45 deg rotation about x=50, y=100 and append it to the transform list
« no previous file with comments | « LayoutTests/svg/dom/SVGStringList-basics-expected.txt ('k') | LayoutTests/svg/dom/SVGTransformList-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698