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

Side by Side Diff: LayoutTests/svg/dom/SVGLengthList-basics-expected.txt

Issue 827373003: Drop redundant null checks in SVGListPropertyTearOffHelper (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix tests and expectations Created 5 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
OLDNEW
1 ABC 1 ABC
2 This is a test of the simple SVGLengthList API parts. 2 This is a test of the simple SVGLengthList API parts.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 PASS text1.x.baseVal != text1.x.animVal is true 7 PASS text1.x.baseVal != text1.x.animVal is true
8 PASS text1.x.baseVal.numberOfItems is 3 8 PASS text1.x.baseVal.numberOfItems is 3
9 PASS text1.x.animVal.numberOfItems is 3 9 PASS text1.x.animVal.numberOfItems is 3
10 PASS text1.x.baseVal.getItem(0).value is 500 10 PASS text1.x.baseVal.getItem(0).value is 500
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 Test uncommon arguments for replaceItem() 80 Test uncommon arguments for replaceItem()
81 PASS text1.x.baseVal.replaceItem(30) threw exception TypeError: Failed to execut e 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present.. 81 PASS text1.x.baseVal.replaceItem(30) threw exception TypeError: Failed to execut e 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present..
82 PASS text1.x.baseVal.replaceItem('aString') threw exception TypeError: Failed to execute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 pres ent.. 82 PASS text1.x.baseVal.replaceItem('aString') threw exception TypeError: Failed to execute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 pres ent..
83 PASS text1.x.baseVal.replaceItem(text1) threw exception TypeError: Failed to exe cute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present. . 83 PASS text1.x.baseVal.replaceItem(text1) threw exception TypeError: Failed to exe cute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present. .
84 PASS text1.x.baseVal.replaceItem(null) threw exception TypeError: Failed to exec ute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present.. 84 PASS text1.x.baseVal.replaceItem(null) threw exception TypeError: Failed to exec ute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present..
85 PASS text1.x.baseVal.replaceItem(30, 0) threw exception TypeError: Failed to exe cute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.. 85 PASS text1.x.baseVal.replaceItem(30, 0) threw exception TypeError: Failed to exe cute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'..
86 PASS text1.x.baseVal.replaceItem('aString', 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLen gth'.. 86 PASS text1.x.baseVal.replaceItem('aString', 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLen gth'..
87 PASS text1.x.baseVal.replaceItem(text1, 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength' .. 87 PASS text1.x.baseVal.replaceItem(text1, 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength' ..
88 PASS text1.x.baseVal.replaceItem(null, 0) threw exception TypeError: Failed to e xecute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'. . 88 PASS text1.x.baseVal.replaceItem(null, 0) threw exception TypeError: Failed to e xecute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'. .
89
90 Test uncommon values for indexed setter
91 PASS text1.x.baseVal[0] = 30 threw exception TypeError: Failed to set an indexed property on 'SVGLengthList': The provided value is not of type 'SVGLength'..
92 PASS text1.x.baseVal[0] = 'aString' threw exception TypeError: Failed to set an indexed property on 'SVGLengthList': The provided value is not of type 'SVGLengt h'..
93 PASS text1.x.baseVal[0] = text1 threw exception TypeError: Failed to set an inde xed property on 'SVGLengthList': The provided value is not of type 'SVGLength'..
94 PASS text1.x.baseVal[0] = null threw exception TypeError: Failed to set an index ed property on 'SVGLengthList': The provided value is not of type 'SVGLength'..
89 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), 0) is text1.x.baseV al.getItem(0) 95 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), 0) is text1.x.baseV al.getItem(0)
90 PASS text1.x.baseVal.numberOfItems is 4 96 PASS text1.x.baseVal.numberOfItems is 4
91 PASS text1.x.baseVal.getItem(0).value is 1 97 PASS text1.x.baseVal.getItem(0).value is 1
92 PASS text1.x.baseVal.getItem(1).value is 2 98 PASS text1.x.baseVal.getItem(1).value is 2
93 PASS text1.x.baseVal.getItem(2).value is 3 99 PASS text1.x.baseVal.getItem(2).value is 3
94 PASS text1.x.baseVal.getItem(3).value is 4 100 PASS text1.x.baseVal.getItem(3).value is 4
95 PASS text1.getAttribute('x') is "1 2 3 4" 101 PASS text1.getAttribute('x') is "1 2 3 4"
96 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), 'aString') is text1 .x.baseVal.getItem(0) 102 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), 'aString') is text1 .x.baseVal.getItem(0)
97 PASS text1.x.baseVal.numberOfItems is 4 103 PASS text1.x.baseVal.numberOfItems is 4
98 PASS text1.x.baseVal.getItem(0).value is 1 104 PASS text1.x.baseVal.getItem(0).value is 1
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 PASS text1.x.baseVal.appendItem(text1) threw exception TypeError: Failed to exec ute 'appendItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.. 145 PASS text1.x.baseVal.appendItem(text1) threw exception TypeError: Failed to exec ute 'appendItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'..
140 PASS text1.x.baseVal.appendItem(null) threw exception TypeError: Failed to execu te 'appendItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.. 146 PASS text1.x.baseVal.appendItem(null) threw exception TypeError: Failed to execu te 'appendItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'..
141 147
142 Testing animVal clear throws 148 Testing animVal clear throws
143 PASS text1.x.animVal.clear() threw exception NoModificationAllowedError: Failed to execute 'clear' on 'SVGLengthList': The object is read-only.. 149 PASS text1.x.animVal.clear() threw exception NoModificationAllowedError: Failed to execute 'clear' on 'SVGLengthList': The object is read-only..
144 PASS text1.x.baseVal.clear() is undefined. 150 PASS text1.x.baseVal.clear() is undefined.
145 PASS successfullyParsed is true 151 PASS successfullyParsed is true
146 152
147 TEST COMPLETE 153 TEST COMPLETE
148 154
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/SVGLengthList-basics.xhtml ('k') | LayoutTests/svg/dom/SVGNumberList-basics.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698