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