|
Line 0
a/LayoutTests/fast/dom/unforgeable-attributes-expected.txt_sec1
|
|
|
1 |
Checks that [Unforgeable] attributes are non-configurable and on the instance rather than the prototype. |
| 2 |
|
| 3 |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| 4 |
|
| 5 |
|
| 6 |
Event.isTrusted |
| 7 |
FAIL Unsupported property. |
| 8 |
|
| 9 |
Document.location |
| 10 |
PASS testObject.hasOwnProperty(testPropertyName) is true |
| 11 |
PASS testObject.__proto__.hasOwnProperty(testPropertyName) is false |
| 12 |
PASS Object.defineProperty(testObject, testPropertyName, { value: 'test' }) threw exception TypeError: Attempting to change access mechanism for an unconfigurable property.. |
| 13 |
PASS Object.getOwnPropertyDescriptor(testObject, testPropertyName).configurable is false |
| 14 |
|
| 15 |
Window.window |
| 16 |
PASS testObject.hasOwnProperty(testPropertyName) is true |
| 17 |
PASS testObject.__proto__.hasOwnProperty(testPropertyName) is false |
| 18 |
PASS Object.defineProperty(testObject, testPropertyName, { value: 'test' }) threw exception TypeError: Attempting to change value of a readonly property.. |
| 19 |
PASS Object.getOwnPropertyDescriptor(testObject, testPropertyName).configurable is false |
| 20 |
|
| 21 |
Window.document |
| 22 |
PASS testObject.hasOwnProperty(testPropertyName) is true |
| 23 |
PASS testObject.__proto__.hasOwnProperty(testPropertyName) is false |
| 24 |
PASS Object.defineProperty(testObject, testPropertyName, { value: 'test' }) threw exception TypeError: Attempting to change value of a readonly property.. |
| 25 |
PASS Object.getOwnPropertyDescriptor(testObject, testPropertyName).configurable is false |
| 26 |
|
| 27 |
Window.location |
| 28 |
PASS testObject.hasOwnProperty(testPropertyName) is true |
| 29 |
PASS testObject.__proto__.hasOwnProperty(testPropertyName) is false |
| 30 |
PASS Object.defineProperty(testObject, testPropertyName, { value: 'test' }) threw exception TypeError: Attempting to change access mechanism for an unconfigurable property.. |
| 31 |
PASS Object.getOwnPropertyDescriptor(testObject, testPropertyName).configurable is false |
| 32 |
|
| 33 |
Window.top |
| 34 |
PASS testObject.hasOwnProperty(testPropertyName) is true |
| 35 |
PASS testObject.__proto__.hasOwnProperty(testPropertyName) is false |
| 36 |
PASS Object.defineProperty(testObject, testPropertyName, { value: 'test' }) threw exception TypeError: Attempting to change access mechanism for an unconfigurable property.. |
| 37 |
PASS Object.getOwnPropertyDescriptor(testObject, testPropertyName).configurable is false |
| 38 |
|
| 39 |
Location.ancestorOrigins |
| 40 |
PASS testObject.hasOwnProperty(testPropertyName) is true |
| 41 |
PASS testObject.__proto__.hasOwnProperty(testPropertyName) is false |
| 42 |
PASS Object.defineProperty(testObject, testPropertyName, { value: 'test' }) threw exception TypeError: Attempting to change access mechanism for an unconfigurable property.. |
| 43 |
PASS Object.getOwnPropertyDescriptor(testObject, testPropertyName).configurable is false |
| 44 |
|
| 45 |
Location.href |
| 46 |
PASS testObject.hasOwnProperty(testPropertyName) is true |
| 47 |
PASS testObject.__proto__.hasOwnProperty(testPropertyName) is false |
| 48 |
PASS Object.defineProperty(testObject, testPropertyName, { value: 'test' }) threw exception TypeError: Attempting to change access mechanism for an unconfigurable property.. |
| 49 |
PASS Object.getOwnPropertyDescriptor(testObject, testPropertyName).configurable is false |
| 50 |
|
| 51 |
Location.origin |
| 52 |
PASS testObject.hasOwnProperty(testPropertyName) is true |
| 53 |
PASS testObject.__proto__.hasOwnProperty(testPropertyName) is false |
| 54 |
PASS Object.defineProperty(testObject, testPropertyName, { value: 'test' }) threw exception TypeError: Attempting to change access mechanism for an unconfigurable property.. |
| 55 |
PASS Object.getOwnPropertyDescriptor(testObject, testPropertyName).configurable is false |
| 56 |
|
| 57 |
Location.protocol |
| 58 |
PASS testObject.hasOwnProperty(testPropertyName) is true |
| 59 |
PASS testObject.__proto__.hasOwnProperty(testPropertyName) is false |
| 60 |
PASS Object.defineProperty(testObject, testPropertyName, { value: 'test' }) threw exception TypeError: Attempting to change access mechanism for an unconfigurable property.. |
| 61 |
PASS Object.getOwnPropertyDescriptor(testObject, testPropertyName).configurable is false |
| 62 |
|
| 63 |
Location.username |
| 64 |
FAIL Unsupported property. |
| 65 |
|
| 66 |
Location.password |
| 67 |
FAIL Unsupported property. |
| 68 |
|
| 69 |
Location.host |
| 70 |
PASS testObject.hasOwnProperty(testPropertyName) is true |
| 71 |
PASS testObject.__proto__.hasOwnProperty(testPropertyName) is false |
| 72 |
PASS Object.defineProperty(testObject, testPropertyName, { value: 'test' }) threw exception TypeError: Attempting to change access mechanism for an unconfigurable property.. |
| 73 |
PASS Object.getOwnPropertyDescriptor(testObject, testPropertyName).configurable is false |
| 74 |
|
| 75 |
Location.hostname |
| 76 |
PASS testObject.hasOwnProperty(testPropertyName) is true |
| 77 |
PASS testObject.__proto__.hasOwnProperty(testPropertyName) is false |
| 78 |
PASS Object.defineProperty(testObject, testPropertyName, { value: 'test' }) threw exception TypeError: Attempting to change access mechanism for an unconfigurable property.. |
| 79 |
PASS Object.getOwnPropertyDescriptor(testObject, testPropertyName).configurable is false |
| 80 |
|
| 81 |
Location.port |
| 82 |
PASS testObject.hasOwnProperty(testPropertyName) is true |
| 83 |
PASS testObject.__proto__.hasOwnProperty(testPropertyName) is false |
| 84 |
PASS Object.defineProperty(testObject, testPropertyName, { value: 'test' }) threw exception TypeError: Attempting to change access mechanism for an unconfigurable property.. |
| 85 |
PASS Object.getOwnPropertyDescriptor(testObject, testPropertyName).configurable is false |
| 86 |
|
| 87 |
Location.pathname |
| 88 |
PASS testObject.hasOwnProperty(testPropertyName) is true |
| 89 |
PASS testObject.__proto__.hasOwnProperty(testPropertyName) is false |
| 90 |
PASS Object.defineProperty(testObject, testPropertyName, { value: 'test' }) threw exception TypeError: Attempting to change access mechanism for an unconfigurable property.. |
| 91 |
PASS Object.getOwnPropertyDescriptor(testObject, testPropertyName).configurable is false |
| 92 |
|
| 93 |
Location.search |
| 94 |
PASS testObject.hasOwnProperty(testPropertyName) is true |
| 95 |
PASS testObject.__proto__.hasOwnProperty(testPropertyName) is false |
| 96 |
PASS Object.defineProperty(testObject, testPropertyName, { value: 'test' }) threw exception TypeError: Attempting to change access mechanism for an unconfigurable property.. |
| 97 |
PASS Object.getOwnPropertyDescriptor(testObject, testPropertyName).configurable is false |
| 98 |
|
| 99 |
Location.hash |
| 100 |
PASS testObject.hasOwnProperty(testPropertyName) is true |
| 101 |
PASS testObject.__proto__.hasOwnProperty(testPropertyName) is false |
| 102 |
PASS Object.defineProperty(testObject, testPropertyName, { value: 'test' }) threw exception TypeError: Attempting to change access mechanism for an unconfigurable property.. |
| 103 |
PASS Object.getOwnPropertyDescriptor(testObject, testPropertyName).configurable is false |
| 104 |
PASS successfullyParsed is true |
| 105 |
|
| 106 |
TEST COMPLETE |
| 107 |
|