OLD | NEW |
1 This test checks cross-frame access security of getOwnPropertyDescriptor (https:
//bugs.webkit.org/show_bug.cgi?id=32119). | 1 This test checks cross-frame access security of getOwnPropertyDescriptor (https:
//bugs.webkit.org/show_bug.cgi?id=32119). |
2 | 2 |
3 | 3 |
4 | 4 |
5 ----- tests for getting of not allowed properties ----- | 5 ----- tests for getting of not allowed properties ----- |
6 | 6 |
7 | 7 |
8 ----- tests for getting of not allowed Constructors ----- | 8 ----- tests for getting of not allowed Constructors ----- |
9 | 9 |
10 PASS: canGetDescriptor(targetWindow, 'Attr') should be 'false' and is. | 10 PASS: canGetDescriptor(targetWindow, 'Attr') should be 'false' and is. |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 PASS: canGetDescriptor(targetWindow, 'prompt') should be 'false' and is. | 126 PASS: canGetDescriptor(targetWindow, 'prompt') should be 'false' and is. |
127 PASS: canGetDescriptor(targetWindow, 'releaseEvents') should be 'false' and is. | 127 PASS: canGetDescriptor(targetWindow, 'releaseEvents') should be 'false' and is. |
128 PASS: canGetDescriptor(targetWindow, 'removeEventListener') should be 'false' an
d is. | 128 PASS: canGetDescriptor(targetWindow, 'removeEventListener') should be 'false' an
d is. |
129 PASS: canGetDescriptor(targetWindow, 'resizeBy') should be 'false' and is. | 129 PASS: canGetDescriptor(targetWindow, 'resizeBy') should be 'false' and is. |
130 PASS: canGetDescriptor(targetWindow, 'resizeTo') should be 'false' and is. | 130 PASS: canGetDescriptor(targetWindow, 'resizeTo') should be 'false' and is. |
131 PASS: canGetDescriptor(targetWindow, 'scroll') should be 'false' and is. | 131 PASS: canGetDescriptor(targetWindow, 'scroll') should be 'false' and is. |
132 PASS: canGetDescriptor(targetWindow, 'scrollBy') should be 'false' and is. | 132 PASS: canGetDescriptor(targetWindow, 'scrollBy') should be 'false' and is. |
133 PASS: canGetDescriptor(targetWindow, 'scrollTo') should be 'false' and is. | 133 PASS: canGetDescriptor(targetWindow, 'scrollTo') should be 'false' and is. |
134 PASS: canGetDescriptor(targetWindow, 'setInterval') should be 'false' and is. | 134 PASS: canGetDescriptor(targetWindow, 'setInterval') should be 'false' and is. |
135 PASS: canGetDescriptor(targetWindow, 'setTimeout') should be 'false' and is. | 135 PASS: canGetDescriptor(targetWindow, 'setTimeout') should be 'false' and is. |
136 PASS: canGetDescriptor(targetWindow, 'showModalDialog') should be 'false' and is
. | |
137 PASS: canGetDescriptor(targetWindow, 'stop') should be 'false' and is. | 136 PASS: canGetDescriptor(targetWindow, 'stop') should be 'false' and is. |
138 PASS: canGetDescriptor(targetWindow, 'blur') should be 'false' and is. | 137 PASS: canGetDescriptor(targetWindow, 'blur') should be 'false' and is. |
139 PASS: canGetDescriptor(targetWindow, 'close') should be 'false' and is. | 138 PASS: canGetDescriptor(targetWindow, 'close') should be 'false' and is. |
140 PASS: canGetDescriptor(targetWindow, 'focus') should be 'false' and is. | 139 PASS: canGetDescriptor(targetWindow, 'focus') should be 'false' and is. |
141 | 140 |
142 ----- tests for getting of not allowed Attributes ----- | 141 ----- tests for getting of not allowed Attributes ----- |
143 | 142 |
144 PASS: canGetDescriptor(targetWindow, 'clientInformation') should be 'false' and
is. | 143 PASS: canGetDescriptor(targetWindow, 'clientInformation') should be 'false' and
is. |
145 PASS: canGetDescriptor(targetWindow, 'console') should be 'false' and is. | 144 PASS: canGetDescriptor(targetWindow, 'console') should be 'false' and is. |
146 PASS: canGetDescriptor(targetWindow, 'crypto') should be 'false' and is. | 145 PASS: canGetDescriptor(targetWindow, 'crypto') should be 'false' and is. |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 PASS: canGetDescriptor(targetLocation, 'hash') should be 'false' and is. | 222 PASS: canGetDescriptor(targetLocation, 'hash') should be 'false' and is. |
224 PASS: canGetDescriptor(targetLocation, 'toString') should be 'false' and is. | 223 PASS: canGetDescriptor(targetLocation, 'toString') should be 'false' and is. |
225 PASS: canGetDescriptor(targetLocation, 'valueOf') should be 'false' and is. | 224 PASS: canGetDescriptor(targetLocation, 'valueOf') should be 'false' and is. |
226 PASS: canGetDescriptor(targetLocation, 'customProperty') should be 'false' and i
s. | 225 PASS: canGetDescriptor(targetLocation, 'customProperty') should be 'false' and i
s. |
227 PASS: canGetDescriptor(targetLocation, 'reload') should be 'false' and is. | 226 PASS: canGetDescriptor(targetLocation, 'reload') should be 'false' and is. |
228 PASS: canGetDescriptor(targetLocation, 'assign') should be 'true' and is. | 227 PASS: canGetDescriptor(targetLocation, 'assign') should be 'true' and is. |
229 PASS: canGetDescriptor(targetLocation, 'replace') should be 'true' and is. | 228 PASS: canGetDescriptor(targetLocation, 'replace') should be 'true' and is. |
230 ----- tests access to cross domain history object ----- | 229 ----- tests access to cross domain history object ----- |
231 PASS: targetWindow.history should have thrown an exception, and did: SecurityErr
or: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-o
rigin frame. | 230 PASS: targetWindow.history should have thrown an exception, and did: SecurityErr
or: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-o
rigin frame. |
232 | 231 |
OLD | NEW |