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", |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 "closed", | 205 "closed", |
206 "frames", | 206 "frames", |
207 "length", | 207 "length", |
208 "opener", | 208 "opener", |
209 "parent", | 209 "parent", |
210 "self", | 210 "self", |
211 "top", | 211 "top", |
212 "window" | 212 "window" |
213 ]; | 213 ]; |
214 | 214 |
215 window.onload = function() | 215 // FIXME[11] window.onload = function() |
216 { | 216 { |
217 if (window.testRunner) { | 217 if (window.testRunner) { |
218 testRunner.dumpAsText(); | 218 testRunner.dumpAsText(); |
219 testRunner.waitUntilDone(); | 219 testRunner.waitUntilDone(); |
220 } | 220 } |
221 | 221 |
222 window.addEventListener('message', function() | 222 window.addEventListener('message', function() |
223 { | 223 { |
224 runTest(); | 224 runTest(); |
225 if (window.testRunner) | 225 if (window.testRunner) |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 shouldThrowException("targetWindow.history"); | 277 shouldThrowException("targetWindow.history"); |
278 } | 278 } |
279 </script> | 279 </script> |
280 </head> | 280 </head> |
281 <body> | 281 <body> |
282 <p>This test checks cross-frame access security of getOwnPropertyDescriptor (htt
ps://bugs.webkit.org/show_bug.cgi?id=32119).</p> | 282 <p>This test checks cross-frame access security of getOwnPropertyDescriptor (htt
ps://bugs.webkit.org/show_bug.cgi?id=32119).</p> |
283 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get
-test.html" style=""></iframe> | 283 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get
-test.html" style=""></iframe> |
284 <pre id="console"></pre> | 284 <pre id="console"></pre> |
285 </body> | 285 </body> |
286 </html> | 286 </html> |
OLD | NEW |