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, 'CSSRule') should be 'false' and is. | 13 PASS: canGetDescriptor(targetWindow, 'CSSRule') should be 'false' and is. |
14 PASS: canGetDescriptor(targetWindow, 'CSSStyleDeclaration') should be 'false' an
d is. | 14 PASS: canGetDescriptor(targetWindow, 'CSSStyleDeclaration') should be 'false' an
d is. |
15 PASS: canGetDescriptor(targetWindow, 'CharacterData') should be 'false' and is. | 15 PASS: canGetDescriptor(targetWindow, 'CharacterData') should be 'false' and is. |
16 PASS: canGetDescriptor(targetWindow, 'Comment') should be 'false' and is. | 16 PASS: canGetDescriptor(targetWindow, 'Comment') should be 'false' and is. |
17 PASS: canGetDescriptor(targetWindow, 'DOMException') should be 'false' and is. | 17 PASS: canGetDescriptor(targetWindow, 'DOMException') should be 'false' and is. |
18 PASS: canGetDescriptor(targetWindow, 'DOMImplementation') should be 'false' and
is. | 18 PASS: canGetDescriptor(targetWindow, 'DOMImplementation') should be 'false' and
is. |
19 PASS: canGetDescriptor(targetWindow, 'DOMParser') should be 'false' and is. | 19 PASS: canGetDescriptor(targetWindow, 'DOMParser') should be 'false' and is. |
20 PASS: canGetDescriptor(targetWindow, 'Document') should be 'false' and is. | 20 PASS: canGetDescriptor(targetWindow, 'Document') should be 'false' and is. |
21 PASS: canGetDescriptor(targetWindow, 'DocumentFragment') should be 'false' and i
s. | 21 PASS: canGetDescriptor(targetWindow, 'DocumentFragment') should be 'false' and i
s. |
22 PASS: canGetDescriptor(targetWindow, 'DocumentType') should be 'false' and is. | 22 PASS: canGetDescriptor(targetWindow, 'DocumentType') should be 'false' and is. |
23 PASS: canGetDescriptor(targetWindow, 'Element') should be 'false' and is. | 23 PASS: canGetDescriptor(targetWindow, 'Element') should be 'false' and is. |
24 PASS: canGetDescriptor(targetWindow, 'EntityReference') should be 'false' and is
. | 24 PASS: canGetDescriptor(targetWindow, 'EntityReference') should be 'false' and is
. |
25 PASS: canGetDescriptor(targetWindow, 'EvalError') should be 'false' and is. | 25 PASS: canGetDescriptor(targetWindow, 'EvalError') should be 'false' and is. |
26 PASS: canGetDescriptor(targetWindow, 'Event') should be 'false' and is. | 26 PASS: canGetDescriptor(targetWindow, 'Event') should be 'false' and is. |
27 PASS: canGetDescriptor(targetWindow, 'HTMLAnchorElement') should be 'false' and
is. | 27 PASS: canGetDescriptor(targetWindow, 'HTMLAnchorElement') should be 'false' and
is. |
28 PASS: canGetDescriptor(targetWindow, 'HTMLAudioElement') should be 'false' and i
s. | 28 PASS: canGetDescriptor(targetWindow, 'HTMLAudioElement') should be 'false' and i
s. |
29 PASS: canGetDescriptor(targetWindow, 'HTMLAppletElement') should be 'false' and
is. | |
30 PASS: canGetDescriptor(targetWindow, 'HTMLAreaElement') should be 'false' and is
. | 29 PASS: canGetDescriptor(targetWindow, 'HTMLAreaElement') should be 'false' and is
. |
31 PASS: canGetDescriptor(targetWindow, 'HTMLBRElement') should be 'false' and is. | 30 PASS: canGetDescriptor(targetWindow, 'HTMLBRElement') should be 'false' and is. |
32 PASS: canGetDescriptor(targetWindow, 'HTMLBaseElement') should be 'false' and is
. | 31 PASS: canGetDescriptor(targetWindow, 'HTMLBaseElement') should be 'false' and is
. |
33 PASS: canGetDescriptor(targetWindow, 'HTMLBodyElement') should be 'false' and is
. | 32 PASS: canGetDescriptor(targetWindow, 'HTMLBodyElement') should be 'false' and is
. |
34 PASS: canGetDescriptor(targetWindow, 'HTMLButtonElement') should be 'false' and
is. | 33 PASS: canGetDescriptor(targetWindow, 'HTMLButtonElement') should be 'false' and
is. |
35 PASS: canGetDescriptor(targetWindow, 'HTMLCanvasElement') should be 'false' and
is. | 34 PASS: canGetDescriptor(targetWindow, 'HTMLCanvasElement') should be 'false' and
is. |
36 PASS: canGetDescriptor(targetWindow, 'HTMLDListElement') should be 'false' and i
s. | 35 PASS: canGetDescriptor(targetWindow, 'HTMLDListElement') should be 'false' and i
s. |
37 PASS: canGetDescriptor(targetWindow, 'HTMLDirectoryElement') should be 'false' a
nd is. | 36 PASS: canGetDescriptor(targetWindow, 'HTMLDirectoryElement') should be 'false' a
nd is. |
38 PASS: canGetDescriptor(targetWindow, 'HTMLDivElement') should be 'false' and is. | 37 PASS: canGetDescriptor(targetWindow, 'HTMLDivElement') should be 'false' and is. |
39 PASS: canGetDescriptor(targetWindow, 'HTMLDocument') should be 'false' and is. | 38 PASS: canGetDescriptor(targetWindow, 'HTMLDocument') should be 'false' and is. |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 PASS: canGetDescriptor(targetLocation, 'hash') should be 'false' and is. | 218 PASS: canGetDescriptor(targetLocation, 'hash') should be 'false' and is. |
220 PASS: canGetDescriptor(targetLocation, 'toString') should be 'false' and is. | 219 PASS: canGetDescriptor(targetLocation, 'toString') should be 'false' and is. |
221 PASS: canGetDescriptor(targetLocation, 'valueOf') should be 'false' and is. | 220 PASS: canGetDescriptor(targetLocation, 'valueOf') should be 'false' and is. |
222 PASS: canGetDescriptor(targetLocation, 'customProperty') should be 'false' and i
s. | 221 PASS: canGetDescriptor(targetLocation, 'customProperty') should be 'false' and i
s. |
223 PASS: canGetDescriptor(targetLocation, 'reload') should be 'false' and is. | 222 PASS: canGetDescriptor(targetLocation, 'reload') should be 'false' and is. |
224 PASS: canGetDescriptor(targetLocation, 'assign') should be 'true' and is. | 223 PASS: canGetDescriptor(targetLocation, 'assign') should be 'true' and is. |
225 PASS: canGetDescriptor(targetLocation, 'replace') should be 'true' and is. | 224 PASS: canGetDescriptor(targetLocation, 'replace') should be 'true' and is. |
226 ----- tests access to cross domain history object ----- | 225 ----- tests access to cross domain history object ----- |
227 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. | 226 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. |
228 | 227 |
OLD | NEW |