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 15 matching lines...) Expand all Loading... |
26 PASS Object.getOwnPropertyDescriptor(String.prototype, 'concat').configurable is
true | 26 PASS Object.getOwnPropertyDescriptor(String.prototype, 'concat').configurable is
true |
27 PASS Object.getOwnPropertyDescriptor(RegExp.prototype, 'exec').value is RegExp.p
rototype.exec | 27 PASS Object.getOwnPropertyDescriptor(RegExp.prototype, 'exec').value is RegExp.p
rototype.exec |
28 PASS Object.getOwnPropertyDescriptor(RegExp.prototype, 'exec').hasOwnProperty('g
et') is false | 28 PASS Object.getOwnPropertyDescriptor(RegExp.prototype, 'exec').hasOwnProperty('g
et') is false |
29 PASS Object.getOwnPropertyDescriptor(RegExp.prototype, 'exec').hasOwnProperty('s
et') is false | 29 PASS Object.getOwnPropertyDescriptor(RegExp.prototype, 'exec').hasOwnProperty('s
et') is false |
30 PASS Object.getOwnPropertyDescriptor(RegExp.prototype, 'exec').enumerable is fal
se | 30 PASS Object.getOwnPropertyDescriptor(RegExp.prototype, 'exec').enumerable is fal
se |
31 PASS Object.getOwnPropertyDescriptor(RegExp.prototype, 'exec').configurable is t
rue | 31 PASS Object.getOwnPropertyDescriptor(RegExp.prototype, 'exec').configurable is t
rue |
32 PASS Object.getOwnPropertyDescriptor(document.__proto__.__proto__, 'createElemen
t').value is document.createElement | 32 PASS Object.getOwnPropertyDescriptor(document.__proto__.__proto__, 'createElemen
t').value is document.createElement |
33 PASS Object.getOwnPropertyDescriptor(document.__proto__.__proto__, 'createElemen
t').hasOwnProperty('get') is false | 33 PASS Object.getOwnPropertyDescriptor(document.__proto__.__proto__, 'createElemen
t').hasOwnProperty('get') is false |
34 PASS Object.getOwnPropertyDescriptor(document.__proto__.__proto__, 'createElemen
t').hasOwnProperty('set') is false | 34 PASS Object.getOwnPropertyDescriptor(document.__proto__.__proto__, 'createElemen
t').hasOwnProperty('set') is false |
35 PASS Object.getOwnPropertyDescriptor(document.__proto__.__proto__, 'createElemen
t').enumerable is true | 35 PASS Object.getOwnPropertyDescriptor(document.__proto__.__proto__, 'createElemen
t').enumerable is true |
36 PASS Object.getOwnPropertyDescriptor(document.__proto__.__proto__, 'createElemen
t').configurable is false | 36 PASS Object.getOwnPropertyDescriptor(document.__proto__.__proto__, 'createElemen
t').configurable is true |
| 37 PASS Object.getOwnPropertyDescriptor(window, 'location').value is window.locatio
n |
| 38 PASS Object.getOwnPropertyDescriptor(window, 'location').hasOwnProperty('get') i
s false |
| 39 PASS Object.getOwnPropertyDescriptor(window, 'location').hasOwnProperty('set') i
s false |
| 40 PASS Object.getOwnPropertyDescriptor(window, 'location').enumerable is true |
| 41 PASS Object.getOwnPropertyDescriptor(window, 'location').configurable is false |
37 PASS Object.getOwnPropertyDescriptor(Number, 'NEGATIVE_INFINITY').value is Numbe
r.NEGATIVE_INFINITY | 42 PASS Object.getOwnPropertyDescriptor(Number, 'NEGATIVE_INFINITY').value is Numbe
r.NEGATIVE_INFINITY |
38 PASS Object.getOwnPropertyDescriptor(Number, 'NEGATIVE_INFINITY').hasOwnProperty
('get') is false | 43 PASS Object.getOwnPropertyDescriptor(Number, 'NEGATIVE_INFINITY').hasOwnProperty
('get') is false |
39 PASS Object.getOwnPropertyDescriptor(Number, 'NEGATIVE_INFINITY').hasOwnProperty
('set') is false | 44 PASS Object.getOwnPropertyDescriptor(Number, 'NEGATIVE_INFINITY').hasOwnProperty
('set') is false |
40 PASS Object.getOwnPropertyDescriptor(Number, 'NEGATIVE_INFINITY').enumerable is
false | 45 PASS Object.getOwnPropertyDescriptor(Number, 'NEGATIVE_INFINITY').enumerable is
false |
41 PASS Object.getOwnPropertyDescriptor(Number, 'NEGATIVE_INFINITY').configurable i
s false | 46 PASS Object.getOwnPropertyDescriptor(Number, 'NEGATIVE_INFINITY').configurable i
s false |
42 FAIL Object.getOwnPropertyDescriptor(RegExp, '$_').value should be (of type str
ing). Was undefined (of type undefined). | 47 FAIL Object.getOwnPropertyDescriptor(RegExp, '$_').value should be (of type str
ing). Was undefined (of type undefined). |
43 FAIL Object.getOwnPropertyDescriptor(RegExp, '$_').hasOwnProperty('get') should
be false. Was true. | 48 FAIL Object.getOwnPropertyDescriptor(RegExp, '$_').hasOwnProperty('get') should
be false. Was true. |
44 FAIL Object.getOwnPropertyDescriptor(RegExp, '$_').hasOwnProperty('set') should
be false. Was true. | 49 FAIL Object.getOwnPropertyDescriptor(RegExp, '$_').hasOwnProperty('set') should
be false. Was true. |
45 PASS Object.getOwnPropertyDescriptor(RegExp, '$_').enumerable is false | 50 PASS Object.getOwnPropertyDescriptor(RegExp, '$_').enumerable is false |
46 FAIL Object.getOwnPropertyDescriptor(RegExp, '$_').configurable should be true.
Was false. | 51 FAIL Object.getOwnPropertyDescriptor(RegExp, '$_').configurable should be true.
Was false. |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 PASS property is 'enumerable' | 212 PASS property is 'enumerable' |
208 PASS property is 'configurable' | 213 PASS property is 'configurable' |
209 PASS property is 'get' | 214 PASS property is 'get' |
210 PASS property is 'set' | 215 PASS property is 'set' |
211 PASS property is 'enumerable' | 216 PASS property is 'enumerable' |
212 PASS property is 'configurable' | 217 PASS property is 'configurable' |
213 PASS successfullyParsed is true | 218 PASS successfullyParsed is true |
214 | 219 |
215 TEST COMPLETE | 220 TEST COMPLETE |
216 | 221 |
OLD | NEW |