OLD | NEW |
| (Empty) |
1 <head> | |
2 <script> | |
3 function MyCallback() { | |
4 | |
5 } | |
6 | |
7 function test() { | |
8 try { | |
9 | |
10 var plugin = window.frames["subframe"].document.plugins[0]; | |
11 plugin.getURL('javascript:parent.document.getElementById("d").innerHTML = ""
;', '_self'); | |
12 | |
13 } catch (ex) { | |
14 alert(ex); | |
15 } | |
16 | |
17 setTimeout(done, 10); | |
18 } | |
19 | |
20 function done() { | |
21 testRunner.dumpAsText(); | |
22 testRunner.notifyDone(); | |
23 } | |
24 </script> | |
25 </head> | |
26 <body onload="testRunner.waitUntilDone(); setTimeout(test, 10)"> | |
27 <p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=14437">bug 14437</a>
: | |
28 RTÉ video crashes Safari.</p> | |
29 <p>Only works with DumpRenderTree.</p> | |
30 | |
31 <div id='d'> | |
32 <iframe name='subframe' src='resources/plugin-remove-subframe-iframe.html'></i
frame> | |
33 </div> | |
34 </body> | |
OLD | NEW |