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

Unified Diff: LayoutTests/svg/dom/SVGPointList-basics-expected.txt

Issue 141523002: Add null-correctness checking to [StrictTypeChecking] methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Last test Created 6 years, 11 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/SVGPointList-basics-expected.txt
diff --git a/LayoutTests/svg/dom/SVGPointList-basics-expected.txt b/LayoutTests/svg/dom/SVGPointList-basics-expected.txt
index 4e7d7ddb20c43c077482a9756ec25e7e6429aefe..2b61874733a6a3ae194007a91dff3940367de3c2 100644
--- a/LayoutTests/svg/dom/SVGPointList-basics-expected.txt
+++ b/LayoutTests/svg/dom/SVGPointList-basics-expected.txt
@@ -74,13 +74,13 @@ PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 100 100
PASS poly1.points.insertItemBefore(30, 0) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
PASS poly1.points.insertItemBefore('aString', 0) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
PASS poly1.points.insertItemBefore(poly1, 0) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
-PASS poly1.points.insertItemBefore(null, 0) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPointList': The PassListItemType provided is invalid..
+PASS poly1.points.insertItemBefore(null, 0) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
Test uncommon arguments for replaceItem()
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: Failed to execute 'replaceItem' on 'SVGPointList': The PassListItemType provided is invalid..
+PASS poly1.points.replaceItem(null, 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
PASS poly1.points.replaceItem('aString', 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
PASS poly1.points.replaceItem(poly1, 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
PASS poly1.points.replaceItem(1, 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
@@ -142,7 +142,7 @@ Test uncommon arguments for appendItem()
PASS poly1.points.appendItem(30) threw exception TypeError: Failed to execute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
PASS poly1.points.appendItem('aString') threw exception TypeError: Failed to execute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
PASS poly1.points.appendItem(poly1) threw exception TypeError: Failed to execute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
-PASS poly1.points.appendItem(null) threw exception TypeError: Failed to execute 'appendItem' on 'SVGPointList': The PassListItemType provided is invalid..
+PASS poly1.points.appendItem(null) threw exception TypeError: Failed to execute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
PASS dumpPoint(poly1.points.appendItem(point)) is "x=200 y=100"
PASS poly1.points.numberOfItems is 2
PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=100"
« no previous file with comments | « LayoutTests/svg/dom/SVGNumberList-basics-expected.txt ('k') | LayoutTests/svg/dom/SVGTransformList-basics-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698