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. |
11 PASS: canGetDescriptor(targetWindow, 'Audio') should be 'false' and is. | 11 PASS: canGetDescriptor(targetWindow, 'Audio') should be 'false' and is. |
12 PASS: canGetDescriptor(targetWindow, 'CDATASection') should be 'false' and is. | 12 PASS: canGetDescriptor(targetWindow, 'CDATASection') should be 'false' and is. |
13 PASS: canGetDescriptor(targetWindow, 'CSSPrimitiveValue') should be 'false' and
is. | 13 PASS: canGetDescriptor(targetWindow, 'CSSPrimitiveValue') should be 'false' and
is. |
14 PASS: canGetDescriptor(targetWindow, 'CSSRule') should be 'false' and is. | 14 PASS: canGetDescriptor(targetWindow, 'CSSRule') should be 'false' and is. |
15 PASS: canGetDescriptor(targetWindow, 'CSSStyleDeclaration') should be 'false' an
d is. | 15 PASS: canGetDescriptor(targetWindow, 'CSSStyleDeclaration') should be 'false' an
d is. |
16 PASS: canGetDescriptor(targetWindow, 'CSSValue') should be 'false' and is. | 16 PASS: canGetDescriptor(targetWindow, 'CSSValue') should be 'false' and is. |
17 PASS: canGetDescriptor(targetWindow, 'CharacterData') should be 'false' and is. | 17 PASS: canGetDescriptor(targetWindow, 'CharacterData') should be 'false' and is. |
18 PASS: canGetDescriptor(targetWindow, 'Comment') should be 'false' and is. | 18 PASS: canGetDescriptor(targetWindow, 'Comment') should be 'false' and is. |
19 PASS: canGetDescriptor(targetWindow, 'DOMException') should be 'false' and is. | 19 PASS: canGetDescriptor(targetWindow, 'DOMException') should be 'false' and is. |
20 PASS: canGetDescriptor(targetWindow, 'DOMImplementation') should be 'false' and
is. | 20 PASS: canGetDescriptor(targetWindow, 'DOMImplementation') should be 'false' and
is. |
21 PASS: canGetDescriptor(targetWindow, 'DOMParser') should be 'false' and is. | 21 PASS: canGetDescriptor(targetWindow, 'DOMParser') should be 'false' and is. |
22 PASS: canGetDescriptor(targetWindow, 'Document') should be 'false' and is. | 22 PASS: canGetDescriptor(targetWindow, 'Document') should be 'false' and is. |
23 PASS: canGetDescriptor(targetWindow, 'DocumentFragment') should be 'false' and i
s. | 23 PASS: canGetDescriptor(targetWindow, 'DocumentFragment') should be 'false' and i
s. |
24 PASS: canGetDescriptor(targetWindow, 'DocumentType') should be 'false' and is. | 24 PASS: canGetDescriptor(targetWindow, 'DocumentType') should be 'false' and is. |
25 PASS: canGetDescriptor(targetWindow, 'Element') should be 'false' and is. | 25 PASS: canGetDescriptor(targetWindow, 'Element') should be 'false' and is. |
26 PASS: canGetDescriptor(targetWindow, 'Entity') should be 'false' and is. | |
27 PASS: canGetDescriptor(targetWindow, 'EntityReference') should be 'false' and is
. | 26 PASS: canGetDescriptor(targetWindow, 'EntityReference') should be 'false' and is
. |
28 PASS: canGetDescriptor(targetWindow, 'EvalError') should be 'false' and is. | 27 PASS: canGetDescriptor(targetWindow, 'EvalError') should be 'false' and is. |
29 PASS: canGetDescriptor(targetWindow, 'Event') should be 'false' and is. | 28 PASS: canGetDescriptor(targetWindow, 'Event') should be 'false' and is. |
30 PASS: canGetDescriptor(targetWindow, 'HTMLAnchorElement') should be 'false' and
is. | 29 PASS: canGetDescriptor(targetWindow, 'HTMLAnchorElement') should be 'false' and
is. |
31 PASS: canGetDescriptor(targetWindow, 'HTMLAudioElement') should be 'false' and i
s. | 30 PASS: canGetDescriptor(targetWindow, 'HTMLAudioElement') should be 'false' and i
s. |
32 PASS: canGetDescriptor(targetWindow, 'HTMLAppletElement') should be 'false' and
is. | 31 PASS: canGetDescriptor(targetWindow, 'HTMLAppletElement') should be 'false' and
is. |
33 PASS: canGetDescriptor(targetWindow, 'HTMLAreaElement') should be 'false' and is
. | 32 PASS: canGetDescriptor(targetWindow, 'HTMLAreaElement') should be 'false' and is
. |
34 PASS: canGetDescriptor(targetWindow, 'HTMLBRElement') should be 'false' and is. | 33 PASS: canGetDescriptor(targetWindow, 'HTMLBRElement') should be 'false' and is. |
35 PASS: canGetDescriptor(targetWindow, 'HTMLBaseElement') should be 'false' and is
. | 34 PASS: canGetDescriptor(targetWindow, 'HTMLBaseElement') should be 'false' and is
. |
36 PASS: canGetDescriptor(targetWindow, 'HTMLBodyElement') should be 'false' and is
. | 35 PASS: canGetDescriptor(targetWindow, 'HTMLBodyElement') should be 'false' and is
. |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 PASS: canGetDescriptor(targetLocation, 'hash') should be 'false' and is. | 223 PASS: canGetDescriptor(targetLocation, 'hash') should be 'false' and is. |
225 PASS: canGetDescriptor(targetLocation, 'toString') should be 'false' and is. | 224 PASS: canGetDescriptor(targetLocation, 'toString') should be 'false' and is. |
226 PASS: canGetDescriptor(targetLocation, 'valueOf') should be 'false' and is. | 225 PASS: canGetDescriptor(targetLocation, 'valueOf') should be 'false' and is. |
227 PASS: canGetDescriptor(targetLocation, 'customProperty') should be 'false' and i
s. | 226 PASS: canGetDescriptor(targetLocation, 'customProperty') should be 'false' and i
s. |
228 PASS: canGetDescriptor(targetLocation, 'reload') should be 'false' and is. | 227 PASS: canGetDescriptor(targetLocation, 'reload') should be 'false' and is. |
229 PASS: canGetDescriptor(targetLocation, 'assign') should be 'true' and is. | 228 PASS: canGetDescriptor(targetLocation, 'assign') should be 'true' and is. |
230 PASS: canGetDescriptor(targetLocation, 'replace') should be 'true' and is. | 229 PASS: canGetDescriptor(targetLocation, 'replace') should be 'true' and is. |
231 ----- tests access to cross domain history object ----- | 230 ----- tests access to cross domain history object ----- |
232 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. | 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. |
233 | 232 |
OLD | NEW |