OLD | NEW |
| (Empty) |
1 Test for function.prototype's property descriptor. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS descriptor['writable'] is true | |
7 PASS descriptor['enumerable'] is false | |
8 PASS descriptor['configurable'] is false | |
9 PASS descriptor['writable'] is true | |
10 PASS descriptor['enumerable'] is false | |
11 PASS descriptor['configurable'] is false | |
12 PASS Object.defineProperty(c, 'prototype', { get: function(){} }) threw exceptio
n TypeError: Attempting to change access mechanism for an unconfigurable propert
y.. | |
13 PASS descriptor['writable'] is true | |
14 PASS descriptor['enumerable'] is false | |
15 PASS descriptor['configurable'] is false | |
16 PASS successfullyParsed is true | |
17 | |
18 TEST COMPLETE | |
19 | |
OLD | NEW |