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

Unified Diff: LayoutTests/svg/dom/SVGNumberList-basics-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
« no previous file with comments | « LayoutTests/svg/dom/SVGMatrix-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 ecf072ff18500a93fed97b76f66f2e802f126bda..59da589dbcf4b686fae9d17c49e3d6ecf517709d 100644
--- a/LayoutTests/svg/dom/SVGNumberList-basics-expected.txt
+++ b/LayoutTests/svg/dom/SVGNumberList-basics-expected.txt
@@ -21,10 +21,10 @@ PASS text1.rotate.baseVal.getItem(text1) is text1.rotate.baseVal.getItem(0)
PASS text1.rotate.baseVal.getItem(null) is text1.rotate.baseVal.getItem(0)
Test uncommon arguments for insertItemBefore()
-PASS text1.rotate.baseVal.insertItemBefore(30) threw exception TypeError: Not enough arguments.
-PASS text1.rotate.baseVal.insertItemBefore('aString') threw exception TypeError: Not enough arguments.
-PASS text1.rotate.baseVal.insertItemBefore(text1) threw exception TypeError: Not enough arguments.
-PASS text1.rotate.baseVal.insertItemBefore(null) threw exception TypeError: Not enough arguments.
+PASS text1.rotate.baseVal.insertItemBefore(30) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGNumberList': 2 arguments required, but only 1 present..
+PASS text1.rotate.baseVal.insertItemBefore('aString') threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGNumberList': 2 arguments required, but only 1 present..
+PASS text1.rotate.baseVal.insertItemBefore(text1) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGNumberList': 2 arguments required, but only 1 present..
+PASS text1.rotate.baseVal.insertItemBefore(null) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGNumberList': 2 arguments required, but only 1 present..
PASS text1.rotate.baseVal.insertItemBefore(text1.rotate.baseVal.getItem(1), 'aString') is text1.rotate.baseVal.getItem(0)
PASS text1.rotate.baseVal.numberOfItems is 3
PASS text1.rotate.baseVal.getItem(0).value is 180
@@ -64,10 +64,10 @@ PASS text1.rotate.baseVal.getItem(3).value is 4
PASS text1.getAttribute('rotate') is "1 2 3 4"
Test uncommon arguments for replaceItem()
-PASS text1.rotate.baseVal.replaceItem(30) threw exception TypeError: Not enough arguments.
-PASS text1.rotate.baseVal.replaceItem('aString') threw exception TypeError: Not enough arguments.
-PASS text1.rotate.baseVal.replaceItem(text1) threw exception TypeError: Not enough arguments.
-PASS text1.rotate.baseVal.replaceItem(null) threw exception TypeError: Not enough arguments.
+PASS text1.rotate.baseVal.replaceItem(30) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 present..
+PASS text1.rotate.baseVal.replaceItem('aString') threw exception TypeError: Failed to execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 present..
+PASS text1.rotate.baseVal.replaceItem(text1) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 present..
+PASS text1.rotate.baseVal.replaceItem(null) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 present..
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.
« no previous file with comments | « LayoutTests/svg/dom/SVGMatrix-expected.txt ('k') | LayoutTests/svg/dom/SVGPaint-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698