| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').value is XMLHttpR
equest | 132 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').value is XMLHttpR
equest |
| 133 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').hasOwnProperty('g
et') is false | 133 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').hasOwnProperty('g
et') is false |
| 134 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').hasOwnProperty('s
et') is false | 134 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').hasOwnProperty('s
et') is false |
| 135 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').enumerable is fal
se | 135 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').enumerable is fal
se |
| 136 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').configurable is t
rue | 136 PASS Object.getOwnPropertyDescriptor(global, 'XMLHttpRequest').configurable is t
rue |
| 137 PASS Object.getOwnPropertyDescriptor(global, 'length').value is global.length | 137 PASS Object.getOwnPropertyDescriptor(global, 'length').value is global.length |
| 138 PASS Object.getOwnPropertyDescriptor(global, 'length').hasOwnProperty('get') is
false | 138 PASS Object.getOwnPropertyDescriptor(global, 'length').hasOwnProperty('get') is
false |
| 139 PASS Object.getOwnPropertyDescriptor(global, 'length').hasOwnProperty('set') is
false | 139 PASS Object.getOwnPropertyDescriptor(global, 'length').hasOwnProperty('set') is
false |
| 140 PASS Object.getOwnPropertyDescriptor(global, 'length').enumerable is true | 140 PASS Object.getOwnPropertyDescriptor(global, 'length').enumerable is true |
| 141 FAIL Object.getOwnPropertyDescriptor(global, 'length').configurable should be fa
lse. Was true. | 141 FAIL Object.getOwnPropertyDescriptor(global, 'length').configurable should be fa
lse. Was true. |
| 142 FAIL Object.getOwnPropertyDescriptor(global, 0).value should be [object Window].
Threw exception TypeError: Cannot read property 'value' of undefined | 142 PASS Object.getOwnPropertyDescriptor(global, 0).value is global[0] |
| 143 FAIL Object.getOwnPropertyDescriptor(global, 0).hasOwnProperty('get') should be
false. Threw exception TypeError: Cannot read property 'hasOwnProperty' of undef
ined | 143 PASS Object.getOwnPropertyDescriptor(global, 0).hasOwnProperty('get') is false |
| 144 FAIL Object.getOwnPropertyDescriptor(global, 0).hasOwnProperty('set') should be
false. Threw exception TypeError: Cannot read property 'hasOwnProperty' of undef
ined | 144 PASS Object.getOwnPropertyDescriptor(global, 0).hasOwnProperty('set') is false |
| 145 FAIL Object.getOwnPropertyDescriptor(global, 0).enumerable should be false. Thre
w exception TypeError: Cannot read property 'enumerable' of undefined | 145 PASS Object.getOwnPropertyDescriptor(global, 0).enumerable is false |
| 146 FAIL Object.getOwnPropertyDescriptor(global, 0).configurable should be false. Th
rew exception TypeError: Cannot read property 'configurable' of undefined | 146 FAIL Object.getOwnPropertyDescriptor(global, 0).configurable should be false. Wa
s true. |
| 147 PASS Object.getOwnPropertyDescriptor(objectWithGetter, 'getter').get is getterFu
nc | 147 PASS Object.getOwnPropertyDescriptor(objectWithGetter, 'getter').get is getterFu
nc |
| 148 PASS Object.getOwnPropertyDescriptor(objectWithGetter, 'getter').set is undefine
d | 148 PASS Object.getOwnPropertyDescriptor(objectWithGetter, 'getter').set is undefine
d |
| 149 PASS Object.getOwnPropertyDescriptor(objectWithGetter, 'getter').hasOwnProperty(
'value') is false | 149 PASS Object.getOwnPropertyDescriptor(objectWithGetter, 'getter').hasOwnProperty(
'value') is false |
| 150 PASS Object.getOwnPropertyDescriptor(objectWithGetter, 'getter').hasOwnProperty(
'writable') is false | 150 PASS Object.getOwnPropertyDescriptor(objectWithGetter, 'getter').hasOwnProperty(
'writable') is false |
| 151 PASS Object.getOwnPropertyDescriptor(objectWithGetter, 'getter').enumerable is t
rue | 151 PASS Object.getOwnPropertyDescriptor(objectWithGetter, 'getter').enumerable is t
rue |
| 152 PASS Object.getOwnPropertyDescriptor(objectWithGetter, 'getter').configurable is
true | 152 PASS Object.getOwnPropertyDescriptor(objectWithGetter, 'getter').configurable is
true |
| 153 PASS Object.getOwnPropertyDescriptor(objectWithSetter, 'setter').get is undefine
d | 153 PASS Object.getOwnPropertyDescriptor(objectWithSetter, 'setter').get is undefine
d |
| 154 PASS Object.getOwnPropertyDescriptor(objectWithSetter, 'setter').set is setterFu
nc | 154 PASS Object.getOwnPropertyDescriptor(objectWithSetter, 'setter').set is setterFu
nc |
| 155 PASS Object.getOwnPropertyDescriptor(objectWithSetter, 'setter').hasOwnProperty(
'value') is false | 155 PASS Object.getOwnPropertyDescriptor(objectWithSetter, 'setter').hasOwnProperty(
'value') is false |
| 156 PASS Object.getOwnPropertyDescriptor(objectWithSetter, 'setter').hasOwnProperty(
'writable') is false | 156 PASS Object.getOwnPropertyDescriptor(objectWithSetter, 'setter').hasOwnProperty(
'writable') is false |
| (...skipping 25 matching lines...) Expand all Loading... |
| 182 PASS property is 'enumerable' | 182 PASS property is 'enumerable' |
| 183 PASS property is 'configurable' | 183 PASS property is 'configurable' |
| 184 PASS property is 'get' | 184 PASS property is 'get' |
| 185 PASS property is 'set' | 185 PASS property is 'set' |
| 186 PASS property is 'enumerable' | 186 PASS property is 'enumerable' |
| 187 PASS property is 'configurable' | 187 PASS property is 'configurable' |
| 188 PASS successfullyParsed is true | 188 PASS successfullyParsed is true |
| 189 | 189 |
| 190 TEST COMPLETE | 190 TEST COMPLETE |
| 191 | 191 |
| OLD | NEW |