| 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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 "closed", | 204 "closed", |
| 205 "frames", | 205 "frames", |
| 206 "length", | 206 "length", |
| 207 "opener", | 207 "opener", |
| 208 "parent", | 208 "parent", |
| 209 "self", | 209 "self", |
| 210 "top", | 210 "top", |
| 211 "window", | 211 "window", |
| 212 ]; | 212 ]; |
| 213 | 213 |
| 214 window.onload = function() | 214 // FIXME[11] window.onload = function() |
| 215 { | 215 { |
| 216 if (window.testRunner) { | 216 if (window.testRunner) { |
| 217 testRunner.dumpAsText(); | 217 testRunner.dumpAsText(); |
| 218 testRunner.waitUntilDone(); | 218 testRunner.waitUntilDone(); |
| 219 } | 219 } |
| 220 | 220 |
| 221 window.addEventListener('message', function() | 221 window.addEventListener('message', function() |
| 222 { | 222 { |
| 223 runTest(); | 223 runTest(); |
| 224 if (window.testRunner) | 224 if (window.testRunner) |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 } | 267 } |
| 268 } | 268 } |
| 269 </script> | 269 </script> |
| 270 </head> | 270 </head> |
| 271 <body> | 271 <body> |
| 272 <p>This test checks cross-frame access security (rdar://problem/5251309).</p> | 272 <p>This test checks cross-frame access security (rdar://problem/5251309).</p> |
| 273 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get
-test.html" style=""></iframe> | 273 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get
-test.html" style=""></iframe> |
| 274 <pre id="console"></pre> | 274 <pre id="console"></pre> |
| 275 </body> | 275 </body> |
| 276 </html> | 276 </html> |
| OLD | NEW |