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

Unified Diff: LayoutTests/svg/dom/SVGPointList-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/SVGPoint-expected.txt ('k') | LayoutTests/svg/dom/SVGStringList-basics-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/SVGPointList-basics-expected.txt
diff --git a/LayoutTests/svg/dom/SVGPointList-basics-expected.txt b/LayoutTests/svg/dom/SVGPointList-basics-expected.txt
index 7366c2d9cd1742bdfd2fa7bb1525cadd47361daa..55a853e1b78b91f9928027264bd5bb7c87b7bf9f 100644
--- a/LayoutTests/svg/dom/SVGPointList-basics-expected.txt
+++ b/LayoutTests/svg/dom/SVGPointList-basics-expected.txt
@@ -40,10 +40,10 @@ PASS poly1.points.getItem(poly1) is poly1.points.getItem(0)
PASS poly1.points.getItem(null) is poly1.points.getItem(0)
Test uncommon arguments for insertItemBefore()
-PASS poly1.points.insertItemBefore(30) threw exception TypeError: Not enough arguments.
-PASS poly1.points.insertItemBefore('aString') threw exception TypeError: Not enough arguments.
-PASS poly1.points.insertItemBefore(poly1) threw exception TypeError: Not enough arguments.
-PASS poly1.points.insertItemBefore(null) threw exception TypeError: Not enough arguments.
+PASS poly1.points.insertItemBefore(30) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only 1 present..
+PASS poly1.points.insertItemBefore('aString') threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only 1 present..
+PASS poly1.points.insertItemBefore(poly1) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only 1 present..
+PASS poly1.points.insertItemBefore(null) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only 1 present..
PASS dumpPoint(poly1.points.insertItemBefore(poly1.points.getItem(1), 'aString')) is "x=100 y=0"
PASS poly1.points.numberOfItems is 4
PASS dumpPoint(poly1.points.getItem(0)) is "x=100 y=0"
@@ -77,9 +77,9 @@ PASS poly1.points.insertItemBefore(poly1, 0) threw exception TypeError: Type err
PASS poly1.points.insertItemBefore(null, 0) threw exception TypeError: Type error.
Test uncommon arguments for replaceItem()
-PASS poly1.points.replaceItem(30) threw exception TypeError: Not enough arguments.
-PASS poly1.points.replaceItem('aString') threw exception TypeError: Not enough arguments.
-PASS poly1.points.replaceItem(poly1) threw exception TypeError: Not enough arguments.
+PASS poly1.points.replaceItem(30) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGPointList': 2 arguments required, but only 1 present..
+PASS poly1.points.replaceItem('aString') threw exception TypeError: Failed to execute 'replaceItem' on 'SVGPointList': 2 arguments required, but only 1 present..
+PASS poly1.points.replaceItem(poly1) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGPointList': 2 arguments required, but only 1 present..
PASS poly1.points.replaceItem(null, 0) threw exception TypeError: Type error.
PASS poly1.points.replaceItem('aString', 0) threw exception TypeError: Type error.
PASS poly1.points.replaceItem(poly1, 0) threw exception TypeError: Type error.
« no previous file with comments | « LayoutTests/svg/dom/SVGPoint-expected.txt ('k') | LayoutTests/svg/dom/SVGStringList-basics-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698