| OLD | NEW |
| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 PASS Object.getOwnPropertyDescriptor(global, 'Infinity').enumerable is false | 120 PASS Object.getOwnPropertyDescriptor(global, 'Infinity').enumerable is false |
| 121 PASS Object.getOwnPropertyDescriptor(global, 'Infinity').configurable is false | 121 PASS Object.getOwnPropertyDescriptor(global, 'Infinity').configurable is false |
| 122 PASS Object.getOwnPropertyDescriptor(global, 'window').value is global | 122 PASS Object.getOwnPropertyDescriptor(global, 'window').value is global |
| 123 PASS Object.getOwnPropertyDescriptor(global, 'window').hasOwnProperty('get') is
false | 123 PASS Object.getOwnPropertyDescriptor(global, 'window').hasOwnProperty('get') is
false |
| 124 PASS Object.getOwnPropertyDescriptor(global, 'window').hasOwnProperty('set') is
false | 124 PASS Object.getOwnPropertyDescriptor(global, 'window').hasOwnProperty('set') is
false |
| 125 PASS Object.getOwnPropertyDescriptor(global, 'window').enumerable is true | 125 PASS Object.getOwnPropertyDescriptor(global, 'window').enumerable is true |
| 126 PASS Object.getOwnPropertyDescriptor(global, 'window').configurable is false | 126 PASS Object.getOwnPropertyDescriptor(global, 'window').configurable is false |
| 127 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').value is XMLHttpR
equest | 127 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').value is XMLHttpR
equest |
| 128 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').hasOwnProperty('g
et') is false | 128 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').hasOwnProperty('g
et') is false |
| 129 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').hasOwnProperty('s
et') is false | 129 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').hasOwnProperty('s
et') is false |
| 130 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').enumerable is tru
e | 130 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').enumerable is fal
se |
| 131 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').configurable is f
alse | 131 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').configurable is t
rue |
| 132 PASS Object.getOwnPropertyDescriptor(global, 'length').value is global.length | 132 PASS Object.getOwnPropertyDescriptor(global, 'length').value is global.length |
| 133 PASS Object.getOwnPropertyDescriptor(global, 'length').hasOwnProperty('get') is
false | 133 PASS Object.getOwnPropertyDescriptor(global, 'length').hasOwnProperty('get') is
false |
| 134 PASS Object.getOwnPropertyDescriptor(global, 'length').hasOwnProperty('set') is
false | 134 PASS Object.getOwnPropertyDescriptor(global, 'length').hasOwnProperty('set') is
false |
| 135 PASS Object.getOwnPropertyDescriptor(global, 'length').enumerable is true | 135 PASS Object.getOwnPropertyDescriptor(global, 'length').enumerable is true |
| 136 PASS Object.getOwnPropertyDescriptor(global, 'length').configurable is false | 136 PASS Object.getOwnPropertyDescriptor(global, 'length').configurable is false |
| 137 PASS Object.getOwnPropertyDescriptor(global, 0).value is global[0] | 137 PASS Object.getOwnPropertyDescriptor(global, 0).value is global[0] |
| 138 PASS Object.getOwnPropertyDescriptor(global, 0).hasOwnProperty('get') is false | 138 PASS Object.getOwnPropertyDescriptor(global, 0).hasOwnProperty('get') is false |
| 139 PASS Object.getOwnPropertyDescriptor(global, 0).hasOwnProperty('set') is false | 139 PASS Object.getOwnPropertyDescriptor(global, 0).hasOwnProperty('set') is false |
| 140 PASS Object.getOwnPropertyDescriptor(global, 0).enumerable is false | 140 PASS Object.getOwnPropertyDescriptor(global, 0).enumerable is false |
| 141 PASS Object.getOwnPropertyDescriptor(global, 0).configurable is false | 141 PASS Object.getOwnPropertyDescriptor(global, 0).configurable is false |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 PASS property is 'enumerable' | 217 PASS property is 'enumerable' |
| 218 PASS property is 'configurable' | 218 PASS property is 'configurable' |
| 219 PASS property is 'get' | 219 PASS property is 'get' |
| 220 PASS property is 'set' | 220 PASS property is 'set' |
| 221 PASS property is 'enumerable' | 221 PASS property is 'enumerable' |
| 222 PASS property is 'configurable' | 222 PASS property is 'configurable' |
| 223 PASS successfullyParsed is true | 223 PASS successfullyParsed is true |
| 224 | 224 |
| 225 TEST COMPLETE | 225 TEST COMPLETE |
| 226 | 226 |
| OLD | NEW |