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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/plugins/plugin-remove-subframe.html
diff --git a/third_party/WebKit/LayoutTests/plugins/plugin-remove-subframe.html b/third_party/WebKit/LayoutTests/plugins/plugin-remove-subframe.html
index ddd1b07077ba7d6d8846b12c62ea969bec6f1027..2da034ee9e1d9d65542024d2d76fde3a80498dc0 100644
--- a/third_party/WebKit/LayoutTests/plugins/plugin-remove-subframe.html
+++ b/third_party/WebKit/LayoutTests/plugins/plugin-remove-subframe.html
@@ -1,14 +1,10 @@
<head>
<script>
-function MyCallback() {
-
-}
-
function test() {
try {
var plugin = window.frames["subframe"].document.plugins[0];
- plugin.getURL('javascript:parent.document.getElementById("d").innerHTML = "";', '_self');
+ plugin.testExecuteScript('parent.document.getElementById("d").innerHTML = "";');
} catch (ex) {
alert(ex);

Powered by Google App Engine
This is Rietveld 408576698