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

Unified Diff: LayoutTests/svg/dom/SVGLengthList-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/SVGLength-expected.txt ('k') | LayoutTests/svg/dom/SVGMatrix-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cf52f52a438fa2a58da5ccd810d9f209279cbc60..8f23905e4da3fbf40b02206b7ad62260fb9e3a81 100644
--- a/LayoutTests/svg/dom/SVGLengthList-basics-expected.txt
+++ b/LayoutTests/svg/dom/SVGLengthList-basics-expected.txt
@@ -24,10 +24,10 @@ PASS text1.x.baseVal.getItem(text1) is text1.x.baseVal.getItem(0)
PASS text1.x.baseVal.getItem(null) is text1.x.baseVal.getItem(0)
Test uncommon arguments for insertItemBefore()
-PASS text1.x.baseVal.insertItemBefore(30) threw exception TypeError: Not enough arguments.
-PASS text1.x.baseVal.insertItemBefore('aString') threw exception TypeError: Not enough arguments.
-PASS text1.x.baseVal.insertItemBefore(text1) threw exception TypeError: Not enough arguments.
-PASS text1.x.baseVal.insertItemBefore(null) threw exception TypeError: Not enough arguments.
+PASS text1.x.baseVal.insertItemBefore(30) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only 1 present..
+PASS text1.x.baseVal.insertItemBefore('aString') threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only 1 present..
+PASS text1.x.baseVal.insertItemBefore(text1) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only 1 present..
+PASS text1.x.baseVal.insertItemBefore(null) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only 1 present..
PASS text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), 'aString') is text1.x.baseVal.getItem(0)
PASS text1.x.baseVal.numberOfItems is 3
PASS text1.x.baseVal.getItem(0).value is 1000
@@ -78,10 +78,10 @@ PASS text1.x.baseVal.getItem(3).value is 4
PASS text1.getAttribute('x') is "1 2 3 4"
Test uncommon arguments for replaceItem()
-PASS text1.x.baseVal.replaceItem(30) threw exception TypeError: Not enough arguments.
-PASS text1.x.baseVal.replaceItem('aString') threw exception TypeError: Not enough arguments.
-PASS text1.x.baseVal.replaceItem(text1) threw exception TypeError: Not enough arguments.
-PASS text1.x.baseVal.replaceItem(null) threw exception TypeError: Not enough arguments.
+PASS text1.x.baseVal.replaceItem(30) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present..
+PASS text1.x.baseVal.replaceItem('aString') threw exception TypeError: Failed to execute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present..
+PASS text1.x.baseVal.replaceItem(text1) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present..
+PASS text1.x.baseVal.replaceItem(null) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present..
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.
« no previous file with comments | « LayoutTests/svg/dom/SVGLength-expected.txt ('k') | LayoutTests/svg/dom/SVGMatrix-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698