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

Side by Side Diff: LayoutTests/svg/dom/SVGNumberList-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 SVGNumberList API parts. 2 This is a test of the simple SVGNumberList 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.rotate.baseVal != text1.rotate.animVal is true 7 PASS text1.rotate.baseVal != text1.rotate.animVal is true
8 PASS text1.rotate.baseVal.numberOfItems is 3 8 PASS text1.rotate.baseVal.numberOfItems is 3
9 PASS text1.rotate.animVal.numberOfItems is 3 9 PASS text1.rotate.animVal.numberOfItems is 3
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 Test uncommon arguments for replaceItem() 66 Test uncommon arguments for replaceItem()
67 PASS text1.rotate.baseVal.replaceItem(30) threw exception TypeError: Failed to e xecute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 presen t.. 67 PASS text1.rotate.baseVal.replaceItem(30) threw exception TypeError: Failed to e xecute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 presen t..
68 PASS text1.rotate.baseVal.replaceItem('aString') threw exception TypeError: Fail ed to execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 present.. 68 PASS text1.rotate.baseVal.replaceItem('aString') threw exception TypeError: Fail ed to execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 present..
69 PASS text1.rotate.baseVal.replaceItem(text1) threw exception TypeError: Failed t o execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 pre sent.. 69 PASS text1.rotate.baseVal.replaceItem(text1) threw exception TypeError: Failed t o execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 pre sent..
70 PASS text1.rotate.baseVal.replaceItem(null) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 pres ent.. 70 PASS text1.rotate.baseVal.replaceItem(null) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 pres ent..
71 PASS text1.rotate.baseVal.replaceItem(30, 0) threw exception TypeError: Failed t o execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumbe r'.. 71 PASS text1.rotate.baseVal.replaceItem(30, 0) threw exception TypeError: Failed t o execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumbe r'..
72 PASS text1.rotate.baseVal.replaceItem('aString', 0) threw exception TypeError: F ailed to execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'S VGNumber'.. 72 PASS text1.rotate.baseVal.replaceItem('aString', 0) threw exception TypeError: F ailed to execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'S VGNumber'..
73 PASS text1.rotate.baseVal.replaceItem(text1, 0) threw exception TypeError: Faile d to execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNu mber'.. 73 PASS text1.rotate.baseVal.replaceItem(text1, 0) threw exception TypeError: Faile d to execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNu mber'..
74 PASS text1.rotate.baseVal.replaceItem(null, 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNum ber'.. 74 PASS text1.rotate.baseVal.replaceItem(null, 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNum ber'..
75
76 Test uncommon values for indexed setter
77 PASS text1.rotate.baseVal[0] = 30 threw exception TypeError: Failed to set an in dexed property on 'SVGNumberList': The provided value is not of type 'SVGNumber' ..
78 PASS text1.rotate.baseVal[0] = 'aString' threw exception TypeError: Failed to se t an indexed property on 'SVGNumberList': The provided value is not of type 'SVG Number'..
79 PASS text1.rotate.baseVal[0] = text1 threw exception TypeError: Failed to set an indexed property on 'SVGNumberList': The provided value is not of type 'SVGNumb er'..
80 PASS text1.rotate.baseVal[0] = null threw exception TypeError: Failed to set an indexed property on 'SVGNumberList': The provided value is not of type 'SVGNumbe r'..
75 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), 0) is tex t1.rotate.baseVal.getItem(0) 81 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), 0) is tex t1.rotate.baseVal.getItem(0)
76 PASS text1.rotate.baseVal.numberOfItems is 4 82 PASS text1.rotate.baseVal.numberOfItems is 4
77 PASS text1.rotate.baseVal.getItem(0).value is 1 83 PASS text1.rotate.baseVal.getItem(0).value is 1
78 PASS text1.rotate.baseVal.getItem(1).value is 2 84 PASS text1.rotate.baseVal.getItem(1).value is 2
79 PASS text1.rotate.baseVal.getItem(2).value is 3 85 PASS text1.rotate.baseVal.getItem(2).value is 3
80 PASS text1.rotate.baseVal.getItem(3).value is 4 86 PASS text1.rotate.baseVal.getItem(3).value is 4
81 PASS text1.getAttribute('rotate') is "1 2 3 4" 87 PASS text1.getAttribute('rotate') is "1 2 3 4"
82 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), 'aString' ) is text1.rotate.baseVal.getItem(0) 88 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), 'aString' ) is text1.rotate.baseVal.getItem(0)
83 PASS text1.rotate.baseVal.numberOfItems is 4 89 PASS text1.rotate.baseVal.numberOfItems is 4
84 PASS text1.rotate.baseVal.getItem(0).value is 1 90 PASS text1.rotate.baseVal.getItem(0).value is 1
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 PASS text1.rotate.baseVal.appendItem(text1) threw exception TypeError: Failed to execute 'appendItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber' .. 126 PASS text1.rotate.baseVal.appendItem(text1) threw exception TypeError: Failed to execute 'appendItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber' ..
121 PASS text1.rotate.baseVal.appendItem(null) threw exception TypeError: Failed to execute 'appendItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'. . 127 PASS text1.rotate.baseVal.appendItem(null) threw exception TypeError: Failed to execute 'appendItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'. .
122 128
123 Testing animVal clear throws 129 Testing animVal clear throws
124 PASS text1.rotate.animVal.clear() threw exception NoModificationAllowedError: Fa iled to execute 'clear' on 'SVGNumberList': The object is read-only.. 130 PASS text1.rotate.animVal.clear() threw exception NoModificationAllowedError: Fa iled to execute 'clear' on 'SVGNumberList': The object is read-only..
125 PASS text1.rotate.baseVal.clear() is undefined. 131 PASS text1.rotate.baseVal.clear() is undefined.
126 PASS successfullyParsed is true 132 PASS successfullyParsed is true
127 133
128 TEST COMPLETE 134 TEST COMPLETE
129 135
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/SVGNumberList-basics.xhtml ('k') | LayoutTests/svg/dom/SVGPointList-basics.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698