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

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

Issue 12288020: Merge 142759 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 10 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 PASS text1.x.baseVal.getItem(1).value is 1000 52 PASS text1.x.baseVal.getItem(1).value is 1000
53 PASS text1.x.baseVal.getItem(2).value is 1500 53 PASS text1.x.baseVal.getItem(2).value is 1500
54 PASS text1.getAttribute('x') is "500 1000 1500" 54 PASS text1.getAttribute('x') is "500 1000 1500"
55 PASS text1.x.baseVal.insertItemBefore(30, 0) threw exception TypeError: Type err or. 55 PASS text1.x.baseVal.insertItemBefore(30, 0) threw exception TypeError: Type err or.
56 PASS text1.x.baseVal.insertItemBefore('aString', 0) threw exception TypeError: T ype error. 56 PASS text1.x.baseVal.insertItemBefore('aString', 0) threw exception TypeError: T ype error.
57 PASS text1.x.baseVal.insertItemBefore(text1, 0) threw exception TypeError: Type error. 57 PASS text1.x.baseVal.insertItemBefore(text1, 0) threw exception TypeError: Type error.
58 PASS text1.x.baseVal.insertItemBefore(null, 0) threw exception Error: SVG_WRONG_ TYPE_ERR: DOM SVG Exception 0. 58 PASS text1.x.baseVal.insertItemBefore(null, 0) threw exception Error: SVG_WRONG_ TYPE_ERR: DOM SVG Exception 0.
59 59
60 Set x='1 2 3 4' for text1 60 Set x='1 2 3 4' for text1
61 PASS text1.setAttribute('x', '1 2 3 4') is undefined. 61 PASS text1.setAttribute('x', '1 2 3 4') is undefined.
62
63 Test edge cases for insertItemBefore()
64 PASS text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(3), 3) is text1.x. baseVal.getItem(3)
65 PASS text1.getAttribute('x') is "1 2 3 4"
66 PASS text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), 5) is text1.x. baseVal.getItem(3)
67 PASS text1.getAttribute('x') is "1 3 4 2"
68 PASS text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), 0) is text1.x. baseVal.getItem(0)
69 PASS text1.getAttribute('x') is "3 1 4 2"
70
71 Set x='1 2 3 4' for text1
72 PASS text1.setAttribute('x', '1 2 3 4') is undefined.
62 PASS text1.x.baseVal.numberOfItems is 4 73 PASS text1.x.baseVal.numberOfItems is 4
63 PASS text1.x.baseVal.getItem(0).value is 1 74 PASS text1.x.baseVal.getItem(0).value is 1
64 PASS text1.x.baseVal.getItem(1).value is 2 75 PASS text1.x.baseVal.getItem(1).value is 2
65 PASS text1.x.baseVal.getItem(2).value is 3 76 PASS text1.x.baseVal.getItem(2).value is 3
66 PASS text1.x.baseVal.getItem(3).value is 4 77 PASS text1.x.baseVal.getItem(3).value is 4
67 PASS text1.getAttribute('x') is "1 2 3 4" 78 PASS text1.getAttribute('x') is "1 2 3 4"
68 79
69 Test uncommon arguments for replaceItem() 80 Test uncommon arguments for replaceItem()
70 PASS text1.x.baseVal.replaceItem(30) threw exception TypeError: Not enough argum ents. 81 PASS text1.x.baseVal.replaceItem(30) threw exception TypeError: Not enough argum ents.
71 PASS text1.x.baseVal.replaceItem('aString') threw exception TypeError: Not enoug h arguments. 82 PASS text1.x.baseVal.replaceItem('aString') threw exception TypeError: Not enoug h arguments.
72 PASS text1.x.baseVal.replaceItem(text1) threw exception TypeError: Not enough ar guments. 83 PASS text1.x.baseVal.replaceItem(text1) threw exception TypeError: Not enough ar guments.
73 PASS text1.x.baseVal.replaceItem(null) threw exception TypeError: Not enough arg uments. 84 PASS text1.x.baseVal.replaceItem(null) threw exception TypeError: Not enough arg uments.
74 PASS text1.x.baseVal.replaceItem(30, 0) threw exception TypeError: Type error. 85 PASS text1.x.baseVal.replaceItem(30, 0) threw exception TypeError: Type error.
75 PASS text1.x.baseVal.replaceItem('aString', 0) threw exception TypeError: Type e rror. 86 PASS text1.x.baseVal.replaceItem('aString', 0) threw exception TypeError: Type e rror.
76 PASS text1.x.baseVal.replaceItem(text1, 0) threw exception TypeError: Type error . 87 PASS text1.x.baseVal.replaceItem(text1, 0) threw exception TypeError: Type error .
77 PASS text1.x.baseVal.replaceItem(null, 0) threw exception Error: SVG_WRONG_TYPE_ ERR: DOM SVG Exception 0. 88 PASS text1.x.baseVal.replaceItem(null, 0) threw exception Error: SVG_WRONG_TYPE_ ERR: DOM SVG Exception 0.
78 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), 0) is text1.x.baseV al.getItem(0) 89 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
91 PASS text1.x.baseVal.getItem(0).value is 1
92 PASS text1.x.baseVal.getItem(1).value is 2
93 PASS text1.x.baseVal.getItem(2).value is 3
94 PASS text1.x.baseVal.getItem(3).value is 4
95 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)
97 PASS text1.x.baseVal.numberOfItems is 4
98 PASS text1.x.baseVal.getItem(0).value is 1
99 PASS text1.x.baseVal.getItem(1).value is 2
100 PASS text1.x.baseVal.getItem(2).value is 3
101 PASS text1.x.baseVal.getItem(3).value is 4
102 PASS text1.getAttribute('x') is "1 2 3 4"
103 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), text1) is text1.x.b aseVal.getItem(0)
104 PASS text1.x.baseVal.numberOfItems is 4
105 PASS text1.getAttribute('x') is "1 2 3 4"
106
107 Set x='1 2 3 4' for text1
108 PASS text1.setAttribute('x', '1 2 3 4') is undefined.
109
110 Test edge cases for replaceItem()
111 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(3), 3) is text1.x.baseV al.getItem(3)
112 PASS text1.x.baseVal.numberOfItems is 4
113 PASS text1.getAttribute('x') is "1 2 3 4"
114 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(1), 3) is text1.x.baseV al.getItem(2)
79 PASS text1.x.baseVal.numberOfItems is 3 115 PASS text1.x.baseVal.numberOfItems is 3
80 PASS text1.x.baseVal.getItem(0).value is 1 116 PASS text1.getAttribute('x') is "1 3 2"
81 PASS text1.x.baseVal.getItem(1).value is 3 117 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(3), 4) threw exception Error: IndexSizeError: DOM Exception 1.
82 PASS text1.x.baseVal.getItem(2).value is 4
83 PASS text1.getAttribute('x') is "1 3 4"
84 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), 'aString') is text1 .x.baseVal.getItem(0)
85 PASS text1.x.baseVal.numberOfItems is 2
86 PASS text1.x.baseVal.getItem(0).value is 1
87 PASS text1.x.baseVal.getItem(1).value is 4
88 PASS text1.getAttribute('x') is "1 4"
89 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), text1) is text1.x.b aseVal.getItem(0)
90 PASS text1.x.baseVal.numberOfItems is 1
91 PASS text1.getAttribute('x') is "1"
92 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), null) threw excepti on Error: IndexSizeError: DOM Exception 1.
93 PASS text1.x.baseVal.numberOfItems is 0
94 PASS text1.getAttribute('x') is ""
95 118
96 Set x='1 2 3 4' for text1 119 Set x='1 2 3 4' for text1
97 PASS text1.setAttribute('x', '1 2 3 4') is undefined. 120 PASS text1.setAttribute('x', '1 2 3 4') is undefined.
98 121
99 Test uncommon arguments for removeItem() 122 Test uncommon arguments for removeItem()
100 PASS text1.x.baseVal.removeItem(30) threw exception Error: IndexSizeError: DOM E xception 1. 123 PASS text1.x.baseVal.removeItem(30) threw exception Error: IndexSizeError: DOM E xception 1.
101 PASS text1.x.baseVal.removeItem(0).value is 1 124 PASS text1.x.baseVal.removeItem(0).value is 1
102 PASS text1.x.baseVal.numberOfItems is 3 125 PASS text1.x.baseVal.numberOfItems is 3
103 PASS text1.x.baseVal.getItem(0).value is 2 126 PASS text1.x.baseVal.getItem(0).value is 2
104 PASS text1.x.baseVal.getItem(1).value is 3 127 PASS text1.x.baseVal.getItem(1).value is 3
(...skipping 11 matching lines...) Expand all
116 PASS text1.x.baseVal.appendItem(text1) threw exception TypeError: Type error. 139 PASS text1.x.baseVal.appendItem(text1) threw exception TypeError: Type error.
117 PASS text1.x.baseVal.appendItem(null) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0. 140 PASS text1.x.baseVal.appendItem(null) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0.
118 141
119 Testing animVal clear throws 142 Testing animVal clear throws
120 PASS text1.x.animVal.clear() threw exception Error: NoModificationAllowedError: DOM Exception 7. 143 PASS text1.x.animVal.clear() threw exception Error: NoModificationAllowedError: DOM Exception 7.
121 PASS text1.x.baseVal.clear() is undefined. 144 PASS text1.x.baseVal.clear() is undefined.
122 PASS successfullyParsed is true 145 PASS successfullyParsed is true
123 146
124 TEST COMPLETE 147 TEST COMPLETE
125 148
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