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

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

Issue 1483733002: Remove support for NPObjects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad rebase. 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
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698