OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script> | 3 <script> |
4 function test() | 4 function test() |
5 { | 5 { |
6 window.frames['crossDomainFrame'].location.replace("http://127.0.0.1:8000/mi
sc/resources/success.html"); | 6 window.frames['crossDomainFrame'].location.replace("http://127.0.0.1:8000/mi
sc/resources/success.html"); |
7 if (window.testRunner) | 7 if (window.testRunner) |
8 setTimeout("testRunner.notifyDone()", 1); | 8 setTimeout("testRunner.notifyDone()", 1); |
9 } | 9 } |
10 | 10 |
11 if (window.testRunner) | 11 if (window.testRunner) |
12 testRunner.waitUntilDone(); | 12 testRunner.waitUntilDone(); |
13 | 13 |
14 </script> | 14 </script> |
15 </head> | 15 </head> |
16 <body onload="test();"> | 16 <body onload="test();"> |
17 <iframe id="crossDomainFrame" src="http://localhost:8000/misc/resources/failure.
html"></iframe> | 17 <iframe name="crossDomainFrame" src="http://localhost:8000/misc/resources/failur
e.html"></iframe> |
18 </body> | 18 </body> |
19 </html> | 19 </html> |
20 <!-- | 20 <!-- |
21 <rdar://problem/4808039> | 21 <rdar://problem/4808039> |
22 http://bugs.webkit.org/show_bug.cgi?id=11230 | 22 http://bugs.webkit.org/show_bug.cgi?id=11230 |
23 --> | 23 --> |
OLD | NEW |