Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: third_party/WebKit/LayoutTests/plugins/plugin-remove-subframe.html

Issue 1821103002: Migrate a bunch of LayoutTests from NPAPI to PPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_open-and-close-window-with-plugin
Patch Set: rebase; fix expectations for plugin-initiate-popup-window-expected Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698