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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This is a test of the simple SVGPointList API parts. 1 This is a test of the simple SVGPointList API parts.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS poly1.points.numberOfItems is 4 6 PASS poly1.points.numberOfItems is 4
7 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" 7 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0"
8 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" 8 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0"
9 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" 9 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100"
10 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" 10 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 PASS dumpPoint(poly1.points.insertItemBefore(poly1.points.getItem(1), 0)) is "x= 0 y=0" 67 PASS dumpPoint(poly1.points.insertItemBefore(poly1.points.getItem(1), 0)) is "x= 0 y=0"
68 PASS poly1.points.numberOfItems is 4 68 PASS poly1.points.numberOfItems is 4
69 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" 69 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0"
70 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" 70 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0"
71 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" 71 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100"
72 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" 72 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100"
73 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 100 100 0 100" 73 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 100 100 0 100"
74 PASS poly1.points.insertItemBefore(30, 0) threw exception TypeError: Failed to e xecute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGPoin t'.. 74 PASS poly1.points.insertItemBefore(30, 0) threw exception TypeError: Failed to e xecute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGPoin t'..
75 PASS poly1.points.insertItemBefore('aString', 0) threw exception TypeError: Fail ed to execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type ' SVGPoint'.. 75 PASS poly1.points.insertItemBefore('aString', 0) threw exception TypeError: Fail ed to execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type ' SVGPoint'..
76 PASS poly1.points.insertItemBefore(poly1, 0) threw exception TypeError: Failed t o execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGP oint'.. 76 PASS poly1.points.insertItemBefore(poly1, 0) threw exception TypeError: Failed t o execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGP oint'..
77 PASS poly1.points.insertItemBefore(null, 0) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPointList': The PassListItemType provided is invalid.. 77 PASS poly1.points.insertItemBefore(null, 0) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGPo int'..
78 78
79 Test uncommon arguments for replaceItem() 79 Test uncommon arguments for replaceItem()
80 PASS poly1.points.replaceItem(30) threw exception TypeError: Failed to execute ' replaceItem' on 'SVGPointList': 2 arguments required, but only 1 present.. 80 PASS poly1.points.replaceItem(30) threw exception TypeError: Failed to execute ' replaceItem' on 'SVGPointList': 2 arguments required, but only 1 present..
81 PASS poly1.points.replaceItem('aString') threw exception TypeError: Failed to ex ecute 'replaceItem' on 'SVGPointList': 2 arguments required, but only 1 present. . 81 PASS poly1.points.replaceItem('aString') threw exception TypeError: Failed to ex ecute 'replaceItem' on 'SVGPointList': 2 arguments required, but only 1 present. .
82 PASS poly1.points.replaceItem(poly1) threw exception TypeError: Failed to execut e 'replaceItem' on 'SVGPointList': 2 arguments required, but only 1 present.. 82 PASS poly1.points.replaceItem(poly1) threw exception TypeError: Failed to execut e 'replaceItem' on 'SVGPointList': 2 arguments required, but only 1 present..
83 PASS poly1.points.replaceItem(null, 0) threw exception TypeError: Failed to exec ute 'replaceItem' on 'SVGPointList': The PassListItemType provided is invalid.. 83 PASS poly1.points.replaceItem(null, 0) threw exception TypeError: Failed to exec ute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
84 PASS poly1.points.replaceItem('aString', 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'. . 84 PASS poly1.points.replaceItem('aString', 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'. .
85 PASS poly1.points.replaceItem(poly1, 0) threw exception TypeError: Failed to exe cute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.. 85 PASS poly1.points.replaceItem(poly1, 0) threw exception TypeError: Failed to exe cute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
86 PASS poly1.points.replaceItem(1, 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.. 86 PASS poly1.points.replaceItem(1, 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
87 87
88 Test uncommon arguments for replaceItem() and xml-dom synchronization 88 Test uncommon arguments for replaceItem() and xml-dom synchronization
89 PASS poly1.points.numberOfItems is 4 89 PASS poly1.points.numberOfItems is 4
90 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" 90 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0"
91 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" 91 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0"
92 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" 92 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100"
93 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" 93 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 PASS poly1.getAttribute('points').formatPointsAttribute() is "100 100 0 100" 135 PASS poly1.getAttribute('points').formatPointsAttribute() is "100 100 0 100"
136 PASS dumpPoint(poly1.points.removeItem(null)) is "x=100 y=100" 136 PASS dumpPoint(poly1.points.removeItem(null)) is "x=100 y=100"
137 PASS poly1.points.numberOfItems is 1 137 PASS poly1.points.numberOfItems is 1
138 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=100" 138 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=100"
139 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 100" 139 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 100"
140 140
141 Test uncommon arguments for appendItem() 141 Test uncommon arguments for appendItem()
142 PASS poly1.points.appendItem(30) threw exception TypeError: Failed to execute 'a ppendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.. 142 PASS poly1.points.appendItem(30) threw exception TypeError: Failed to execute 'a ppendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
143 PASS poly1.points.appendItem('aString') threw exception TypeError: Failed to exe cute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.. 143 PASS poly1.points.appendItem('aString') threw exception TypeError: Failed to exe cute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
144 PASS poly1.points.appendItem(poly1) threw exception TypeError: Failed to execute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.. 144 PASS poly1.points.appendItem(poly1) threw exception TypeError: Failed to execute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
145 PASS poly1.points.appendItem(null) threw exception TypeError: Failed to execute 'appendItem' on 'SVGPointList': The PassListItemType provided is invalid.. 145 PASS poly1.points.appendItem(null) threw exception TypeError: Failed to execute 'appendItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'..
146 PASS dumpPoint(poly1.points.appendItem(point)) is "x=200 y=100" 146 PASS dumpPoint(poly1.points.appendItem(point)) is "x=200 y=100"
147 PASS poly1.points.numberOfItems is 2 147 PASS poly1.points.numberOfItems is 2
148 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=100" 148 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=100"
149 PASS dumpPoint(poly1.points.getItem(1)) is "x=200 y=100" 149 PASS dumpPoint(poly1.points.getItem(1)) is "x=200 y=100"
150 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 100 200 100" 150 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 100 200 100"
151 PASS successfullyParsed is true 151 PASS successfullyParsed is true
152 152
153 TEST COMPLETE 153 TEST COMPLETE
154 154
OLDNEW
« 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