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

Side by Side Diff: LayoutTests/fast/js/getOwnPropertyDescriptor-expected.txt

Issue 143453010: Have getElementsByClassName() / getElementsByTagName*() return an HTMLCollection (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 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 | Annotate | Revision Log
OLDNEW
1 Test to ensure correct behaviour of Object.getOwnPropertyDescriptor 1 Test to ensure correct behaviour of Object.getOwnPropertyDescriptor
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 Object.getOwnPropertyDescriptor({}, 'undefinedProperty') is undefined. 6 PASS Object.getOwnPropertyDescriptor({}, 'undefinedProperty') is undefined.
7 PASS Object.getOwnPropertyDescriptor({definedProperty:'defined'}, 'definedProper ty').value is "defined" 7 PASS Object.getOwnPropertyDescriptor({definedProperty:'defined'}, 'definedProper ty').value is "defined"
8 PASS Object.getOwnPropertyDescriptor({definedProperty:'defined'}, 'definedProper ty').hasOwnProperty('get') is false 8 PASS Object.getOwnPropertyDescriptor({definedProperty:'defined'}, 'definedProper ty').hasOwnProperty('get') is false
9 PASS Object.getOwnPropertyDescriptor({definedProperty:'defined'}, 'definedProper ty').hasOwnProperty('set') is false 9 PASS Object.getOwnPropertyDescriptor({definedProperty:'defined'}, 'definedProper ty').hasOwnProperty('set') is false
10 PASS Object.getOwnPropertyDescriptor({definedProperty:'defined'}, 'definedProper ty').enumerable is true 10 PASS Object.getOwnPropertyDescriptor({definedProperty:'defined'}, 'definedProper ty').enumerable is true
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 PASS Object.getOwnPropertyDescriptor(global, 'length').enumerable is true 135 PASS Object.getOwnPropertyDescriptor(global, 'length').enumerable is true
136 FAIL Object.getOwnPropertyDescriptor(global, 'length').configurable should be fa lse. Was true. 136 FAIL Object.getOwnPropertyDescriptor(global, 'length').configurable should be fa lse. Was true.
137 FAIL Object.getOwnPropertyDescriptor(global, 0).value should be [object Window]. Threw exception TypeError: Cannot read property 'value' of undefined 137 FAIL Object.getOwnPropertyDescriptor(global, 0).value should be [object Window]. Threw exception TypeError: Cannot read property 'value' of undefined
138 FAIL Object.getOwnPropertyDescriptor(global, 0).hasOwnProperty('get') should be false. Threw exception TypeError: Cannot call method 'hasOwnProperty' of undefin ed 138 FAIL Object.getOwnPropertyDescriptor(global, 0).hasOwnProperty('get') should be false. Threw exception TypeError: Cannot call method 'hasOwnProperty' of undefin ed
139 FAIL Object.getOwnPropertyDescriptor(global, 0).hasOwnProperty('set') should be false. Threw exception TypeError: Cannot call method 'hasOwnProperty' of undefin ed 139 FAIL Object.getOwnPropertyDescriptor(global, 0).hasOwnProperty('set') should be false. Threw exception TypeError: Cannot call method 'hasOwnProperty' of undefin ed
140 FAIL Object.getOwnPropertyDescriptor(global, 0).enumerable should be false. Thre w exception TypeError: Cannot read property 'enumerable' of undefined 140 FAIL Object.getOwnPropertyDescriptor(global, 0).enumerable should be false. Thre w exception TypeError: Cannot read property 'enumerable' of undefined
141 FAIL Object.getOwnPropertyDescriptor(global, 0).configurable should be false. Th rew exception TypeError: Cannot read property 'configurable' of undefined 141 FAIL Object.getOwnPropertyDescriptor(global, 0).configurable should be false. Th rew exception TypeError: Cannot read property 'configurable' of undefined
142 PASS Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 'leng th').value is 1 142 PASS Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 'leng th').value is 1
143 PASS Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 'leng th').hasOwnProperty('get') is false 143 PASS Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 'leng th').hasOwnProperty('get') is false
144 PASS Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 'leng th').hasOwnProperty('set') is false 144 PASS Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 'leng th').hasOwnProperty('set') is false
145 FAIL Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 'leng th').enumerable should be true. Was false. 145 PASS Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 'leng th').enumerable is true
146 FAIL Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 'leng th').configurable should be false. Was true. 146 FAIL Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 'leng th').configurable should be false. Was true.
147 PASS Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 0).va lue is document.getElementsByTagName('div')[0] 147 PASS Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 0).va lue is document.getElementsByTagName('div')[0]
148 PASS Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 0).ha sOwnProperty('get') is false 148 PASS Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 0).ha sOwnProperty('get') is false
149 PASS Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 0).ha sOwnProperty('set') is false 149 PASS Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 0).ha sOwnProperty('set') is false
150 PASS Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 0).en umerable is true 150 PASS Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 0).en umerable is true
151 FAIL Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 0).co nfigurable should be false. Was true. 151 FAIL Object.getOwnPropertyDescriptor(document.getElementsByTagName('div'), 0).co nfigurable should be false. Was true.
152 PASS Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 0) .value is document.getElementsByClassName('pass')[0] 152 PASS Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 0) .value is document.getElementsByClassName('pass')[0]
153 PASS Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 0) .hasOwnProperty('get') is false 153 PASS Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 0) .hasOwnProperty('get') is false
154 PASS Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 0) .hasOwnProperty('set') is false 154 PASS Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 0) .hasOwnProperty('set') is false
155 PASS Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 0) .enumerable is true 155 PASS Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 0) .enumerable is true
156 FAIL Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 0) .configurable should be false. Was true. 156 FAIL Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 0) .configurable should be false. Was true.
157 PASS Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 'l ength').value is document.getElementsByClassName('pass').length 157 PASS Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 'l ength').value is document.getElementsByClassName('pass').length
158 PASS Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 'l ength').hasOwnProperty('get') is false 158 PASS Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 'l ength').hasOwnProperty('get') is false
159 PASS Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 'l ength').hasOwnProperty('set') is false 159 PASS Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 'l ength').hasOwnProperty('set') is false
160 FAIL Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 'l ength').enumerable should be true. Was false. 160 PASS Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 'l ength').enumerable is true
161 FAIL Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 'l ength').configurable should be false. Was true. 161 FAIL Object.getOwnPropertyDescriptor(document.getElementsByClassName('pass'), 'l ength').configurable should be false. Was true.
162 PASS Object.getOwnPropertyDescriptor(select, 'length').value is select.length 162 PASS Object.getOwnPropertyDescriptor(select, 'length').value is select.length
163 PASS Object.getOwnPropertyDescriptor(select, 'length').hasOwnProperty('get') is false 163 PASS Object.getOwnPropertyDescriptor(select, 'length').hasOwnProperty('get') is false
164 PASS Object.getOwnPropertyDescriptor(select, 'length').hasOwnProperty('set') is false 164 PASS Object.getOwnPropertyDescriptor(select, 'length').hasOwnProperty('set') is false
165 PASS Object.getOwnPropertyDescriptor(select, 'length').enumerable is true 165 PASS Object.getOwnPropertyDescriptor(select, 'length').enumerable is true
166 FAIL Object.getOwnPropertyDescriptor(select, 'length').configurable should be fa lse. Was true. 166 FAIL Object.getOwnPropertyDescriptor(select, 'length').configurable should be fa lse. Was true.
167 PASS Object.getOwnPropertyDescriptor(select, 0).value is select[0] 167 PASS Object.getOwnPropertyDescriptor(select, 0).value is select[0]
168 PASS Object.getOwnPropertyDescriptor(select, 0).hasOwnProperty('get') is false 168 PASS Object.getOwnPropertyDescriptor(select, 0).hasOwnProperty('get') is false
169 PASS Object.getOwnPropertyDescriptor(select, 0).hasOwnProperty('set') is false 169 PASS Object.getOwnPropertyDescriptor(select, 0).hasOwnProperty('set') is false
170 PASS Object.getOwnPropertyDescriptor(select, 0).enumerable is true 170 PASS Object.getOwnPropertyDescriptor(select, 0).enumerable is true
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 PASS property is 'enumerable' 207 PASS property is 'enumerable'
208 PASS property is 'configurable' 208 PASS property is 'configurable'
209 PASS property is 'get' 209 PASS property is 'get'
210 PASS property is 'set' 210 PASS property is 'set'
211 PASS property is 'enumerable' 211 PASS property is 'enumerable'
212 PASS property is 'configurable' 212 PASS property is 'configurable'
213 PASS successfullyParsed is true 213 PASS successfullyParsed is true
214 214
215 TEST COMPLETE 215 TEST COMPLETE
216 216
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/constructor-expected.txt ('k') | LayoutTests/fast/js/script-tests/constructor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698