OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="resources/cross-frame-access.js"></script> | 3 <script src="resources/cross-frame-access.js"></script> |
4 <script> | 4 <script> |
5 var windowConstructorPropertiesNotAllowed = [ | 5 var windowConstructorPropertiesNotAllowed = [ |
6 "Attr", | 6 "Attr", |
7 "Audio", | 7 "Audio", |
8 "CDATASection", | 8 "CDATASection", |
9 "CSSRule", | 9 "CSSRule", |
10 "CSSStyleDeclaration", | 10 "CSSStyleDeclaration", |
11 "CharacterData", | 11 "CharacterData", |
12 "Comment", | 12 "Comment", |
13 "DOMException", | 13 "DOMException", |
14 "DOMImplementation", | 14 "DOMImplementation", |
15 "DOMParser", | 15 "DOMParser", |
16 "Document", | 16 "Document", |
17 "DocumentFragment", | 17 "DocumentFragment", |
18 "DocumentType", | 18 "DocumentType", |
19 "Element", | 19 "Element", |
20 "EntityReference", | 20 "EntityReference", |
21 "EvalError", | 21 "EvalError", |
22 "Event", | 22 "Event", |
23 "HTMLAnchorElement", | 23 "HTMLAnchorElement", |
24 "HTMLAudioElement", | 24 "HTMLAudioElement", |
25 "HTMLAppletElement", | |
26 "HTMLAreaElement", | 25 "HTMLAreaElement", |
27 "HTMLBRElement", | 26 "HTMLBRElement", |
28 "HTMLBaseElement", | 27 "HTMLBaseElement", |
29 "HTMLBodyElement", | 28 "HTMLBodyElement", |
30 "HTMLButtonElement", | 29 "HTMLButtonElement", |
31 "HTMLCanvasElement", | 30 "HTMLCanvasElement", |
32 "HTMLDListElement", | 31 "HTMLDListElement", |
33 "HTMLDirectoryElement", | 32 "HTMLDirectoryElement", |
34 "HTMLDivElement", | 33 "HTMLDivElement", |
35 "HTMLDocument", | 34 "HTMLDocument", |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 shouldThrowException("targetWindow.history"); | 269 shouldThrowException("targetWindow.history"); |
271 } | 270 } |
272 </script> | 271 </script> |
273 </head> | 272 </head> |
274 <body> | 273 <body> |
275 <p>This test checks cross-frame access security of getOwnPropertyDescriptor (htt
ps://bugs.webkit.org/show_bug.cgi?id=32119).</p> | 274 <p>This test checks cross-frame access security of getOwnPropertyDescriptor (htt
ps://bugs.webkit.org/show_bug.cgi?id=32119).</p> |
276 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get
-test.html" style=""></iframe> | 275 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get
-test.html" style=""></iframe> |
277 <pre id="console"></pre> | 276 <pre id="console"></pre> |
278 </body> | 277 </body> |
279 </html> | 278 </html> |
OLD | NEW |