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

Unified Diff: LayoutTests/svg/dom/SVGMatrix-expected.txt

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 years, 3 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/SVGMatrix-expected.txt
diff --git a/LayoutTests/svg/dom/SVGMatrix-expected.txt b/LayoutTests/svg/dom/SVGMatrix-expected.txt
index 42d71060ddd9425d15cf19566e30692d1bd049fc..6f6bcc04830a7e0aed78dfb47d7f026b526f0170 100644
--- a/LayoutTests/svg/dom/SVGMatrix-expected.txt
+++ b/LayoutTests/svg/dom/SVGMatrix-expected.txt
@@ -90,18 +90,18 @@ PASS matrix.e is 0
PASS matrix.f is 0
Check calling 'multiply' with invalid arguments
-PASS matrix.multiply() threw exception TypeError: Not enough arguments.
+PASS matrix.multiply() threw exception TypeError: Failed to execute 'multiply' on 'SVGMatrix': 1 argument required, but only 0 present..
PASS matrix.multiply(true) threw exception TypeError: Type error.
PASS matrix.multiply(2) threw exception TypeError: Type error.
PASS matrix.multiply('aString') threw exception TypeError: Type error.
PASS matrix.multiply(svgElement) threw exception TypeError: Type error.
Check calling 'translate' with invalid arguments
-PASS matrix.translate() threw exception TypeError: Not enough arguments.
-PASS matrix.translate(true) threw exception TypeError: Not enough arguments.
-PASS matrix.translate(2) threw exception TypeError: Not enough arguments.
-PASS matrix.translate('aString') threw exception TypeError: Not enough arguments.
-PASS matrix.translate(svgElement) threw exception TypeError: Not enough arguments.
+PASS matrix.translate() threw exception TypeError: Failed to execute 'translate' on 'SVGMatrix': 2 arguments required, but only 0 present..
+PASS matrix.translate(true) threw exception TypeError: Failed to execute 'translate' on 'SVGMatrix': 2 arguments required, but only 1 present..
+PASS matrix.translate(2) threw exception TypeError: Failed to execute 'translate' on 'SVGMatrix': 2 arguments required, but only 1 present..
+PASS matrix.translate('aString') threw exception TypeError: Failed to execute 'translate' on 'SVGMatrix': 2 arguments required, but only 1 present..
+PASS matrix.translate(svgElement) threw exception TypeError: Failed to execute 'translate' on 'SVGMatrix': 2 arguments required, but only 1 present..
PASS matrix.translate('aString', 'aString') is non-null.
PASS matrix.translate(svgElement, svgElement) is non-null.
PASS matrix.translate(2, 'aString') is non-null.
@@ -110,16 +110,16 @@ PASS matrix.translate('aString', 2) is non-null.
PASS matrix.translate(svgElement, 2) is non-null.
Check calling 'scale' with invalid arguments
-PASS matrix.scale() threw exception TypeError: Not enough arguments.
+PASS matrix.scale() threw exception TypeError: Failed to execute 'scale' on 'SVGMatrix': 1 argument required, but only 0 present..
PASS matrix.scale('aString') is non-null.
PASS matrix.scale(svgElement) is non-null.
Check calling 'scaleNonUniform' with invalid arguments
-PASS matrix.scaleNonUniform() threw exception TypeError: Not enough arguments.
-PASS matrix.scaleNonUniform(true) threw exception TypeError: Not enough arguments.
-PASS matrix.scaleNonUniform(2) threw exception TypeError: Not enough arguments.
-PASS matrix.scaleNonUniform('aString') threw exception TypeError: Not enough arguments.
-PASS matrix.scaleNonUniform(svgElement) threw exception TypeError: Not enough arguments.
+PASS matrix.scaleNonUniform() threw exception TypeError: Failed to execute 'scaleNonUniform' on 'SVGMatrix': 2 arguments required, but only 0 present..
+PASS matrix.scaleNonUniform(true) threw exception TypeError: Failed to execute 'scaleNonUniform' on 'SVGMatrix': 2 arguments required, but only 1 present..
+PASS matrix.scaleNonUniform(2) threw exception TypeError: Failed to execute 'scaleNonUniform' on 'SVGMatrix': 2 arguments required, but only 1 present..
+PASS matrix.scaleNonUniform('aString') threw exception TypeError: Failed to execute 'scaleNonUniform' on 'SVGMatrix': 2 arguments required, but only 1 present..
+PASS matrix.scaleNonUniform(svgElement) threw exception TypeError: Failed to execute 'scaleNonUniform' on 'SVGMatrix': 2 arguments required, but only 1 present..
PASS matrix.scaleNonUniform('aString', 'aString') is non-null.
PASS matrix.scaleNonUniform(svgElement, svgElement) is non-null.
PASS matrix.scaleNonUniform(2, 'aString') is non-null.
@@ -128,16 +128,16 @@ PASS matrix.scaleNonUniform('aString', 2) is non-null.
PASS matrix.scaleNonUniform(svgElement, 2) is non-null.
Check calling 'rotate' with invalid arguments
-PASS matrix.rotate() threw exception TypeError: Not enough arguments.
+PASS matrix.rotate() threw exception TypeError: Failed to execute 'rotate' on 'SVGMatrix': 1 argument required, but only 0 present..
PASS matrix.rotate('aString') is non-null.
PASS matrix.rotate(svgElement) is non-null.
Check calling 'rotateFromVector' with invalid arguments
-PASS matrix.rotateFromVector() threw exception TypeError: Not enough arguments.
-PASS matrix.rotateFromVector(true) threw exception TypeError: Not enough arguments.
-PASS matrix.rotateFromVector(2) threw exception TypeError: Not enough arguments.
-PASS matrix.rotateFromVector('aString') threw exception TypeError: Not enough arguments.
-PASS matrix.rotateFromVector(svgElement) threw exception TypeError: Not enough arguments.
+PASS matrix.rotateFromVector() threw exception TypeError: Failed to execute 'rotateFromVector' on 'SVGMatrix': 2 arguments required, but only 0 present..
+PASS matrix.rotateFromVector(true) threw exception TypeError: Failed to execute 'rotateFromVector' on 'SVGMatrix': 2 arguments required, but only 1 present..
+PASS matrix.rotateFromVector(2) threw exception TypeError: Failed to execute 'rotateFromVector' on 'SVGMatrix': 2 arguments required, but only 1 present..
+PASS matrix.rotateFromVector('aString') threw exception TypeError: Failed to execute 'rotateFromVector' on 'SVGMatrix': 2 arguments required, but only 1 present..
+PASS matrix.rotateFromVector(svgElement) threw exception TypeError: Failed to execute 'rotateFromVector' on 'SVGMatrix': 2 arguments required, but only 1 present..
PASS matrix.rotateFromVector('aString', 'aString') is non-null.
PASS matrix.rotateFromVector(svgElement, svgElement) is non-null.
PASS matrix.rotateFromVector(2, 'aString') is non-null.
@@ -146,12 +146,12 @@ PASS matrix.rotateFromVector('aString', 2) is non-null.
PASS matrix.rotateFromVector(svgElement, 2) is non-null.
Check calling 'skewX' with invalid arguments
-PASS matrix.skewX() threw exception TypeError: Not enough arguments.
+PASS matrix.skewX() threw exception TypeError: Failed to execute 'skewX' on 'SVGMatrix': 1 argument required, but only 0 present..
PASS matrix.skewX('aString') is non-null.
PASS matrix.skewX(svgElement) is non-null.
Check calling 'skewY' with invalid arguments
-PASS matrix.skewY() threw exception TypeError: Not enough arguments.
+PASS matrix.skewY() threw exception TypeError: Failed to execute 'skewY' on 'SVGMatrix': 1 argument required, but only 0 present..
PASS matrix.skewY('aString') is non-null.
PASS matrix.skewY(svgElement) is non-null.
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/svg/dom/SVGLengthList-basics-expected.txt ('k') | LayoutTests/svg/dom/SVGNumberList-basics-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698