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

Unified Diff: third_party/WebKit/LayoutTests/permissionclient/plugin-permission.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 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/permissionclient/plugin-permission.html
diff --git a/third_party/WebKit/LayoutTests/permissionclient/plugin-permission.html b/third_party/WebKit/LayoutTests/permissionclient/plugin-permission.html
index 54a99ee5552015b5208726b09bc3b4295fe2c06e..e49bf822af990517c99a4bbfc858c00d1f58c4e5 100644
--- a/third_party/WebKit/LayoutTests/permissionclient/plugin-permission.html
+++ b/third_party/WebKit/LayoutTests/permissionclient/plugin-permission.html
@@ -14,7 +14,7 @@ function log(a)
function test()
{
var plugin = document.createElement('embed');
- plugin.setAttribute("type", "application/x-webkit-test-netscape");
+ plugin.setAttribute("type", "application/x-blink-deprecated-test-plugin");
plugin.setAttribute("onNew", "loadedFirst()");
document.getElementById("plugins").appendChild(plugin);
}
@@ -34,7 +34,7 @@ function loadedFirst()
log("This test requires testRunner.setPluginsAllowed, so it be can't run in a browser.");
var plugin = document.createElement('embed');
- plugin.setAttribute("type", "application/x-webkit-test-netscape");
+ plugin.setAttribute("type", "application/x-blink-deprecated-test-plugin");
dcheng 2016/03/22 18:03:05 Similar to the sandboxed plugins, I think this is
piman 2016/03/23 05:30:24 As discussed, we can use the "regular" plugin and
plugin.setAttribute("onNew", "loadedSecond()");
document.getElementById("plugins").appendChild(plugin);
window.setTimeout(done, 5);

Powered by Google App Engine
This is Rietveld 408576698