OLD | NEW |
1 <head> | 1 <head><meta charset="utf-8"/> |
2 <script> | 2 <script> |
3 function test() { | 3 function test() { |
4 try { | 4 try { |
5 | 5 |
6 var plugin = window.frames["subframe"].document.plugins[0]; | 6 var plugin = window.frames["subframe"].document.plugins[0]; |
7 plugin.testExecuteScript('parent.document.getElementById("d").innerHTML = ""
;'); | 7 plugin.testExecuteScript('parent.document.getElementById("d").innerHTML = ""
;'); |
8 | 8 |
9 } catch (ex) { | 9 } catch (ex) { |
10 alert(ex); | 10 alert(ex); |
11 } | 11 } |
12 | 12 |
13 setTimeout(done, 10); | 13 setTimeout(done, 10); |
14 } | 14 } |
15 | 15 |
16 function done() { | 16 function done() { |
17 testRunner.dumpAsText(); | 17 testRunner.dumpAsText(); |
18 testRunner.notifyDone(); | 18 testRunner.notifyDone(); |
19 } | 19 } |
20 </script> | 20 </script> |
21 </head> | 21 </head> |
22 <body onload="testRunner.waitUntilDone(); setTimeout(test, 10)"> | 22 <body onload="testRunner.waitUntilDone(); setTimeout(test, 10)"> |
23 <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>
: |
24 RTÉ video crashes Safari.</p> | 24 RTÉ video crashes Safari.</p> |
25 <p>Only works with DumpRenderTree.</p> | 25 <p>Only works with DumpRenderTree.</p> |
26 | 26 |
27 <div id='d'> | 27 <div id='d'> |
28 <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> |
29 </div> | 29 </div> |
30 </body> | 30 </body> |
OLD | NEW |