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

Unified Diff: chrome/test/data/load_npapi_plugin.html

Issue 1182303010: Delete the NPAPI plugin browsertests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years, 6 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
« no previous file with comments | « chrome/test/data/load_all_blocked_plugins.html ('k') | chrome/test/data/plugin_delete_self_at_load.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/load_npapi_plugin.html
diff --git a/chrome/test/data/load_npapi_plugin.html b/chrome/test/data/load_npapi_plugin.html
deleted file mode 100644
index 2b91f5fb6b674381dff2f67e64cd55c47fd611c8..0000000000000000000000000000000000000000
--- a/chrome/test/data/load_npapi_plugin.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<html>
-<head>
-<title>Initial Title</title>
-<script>
-function PluginCreated() {
- document.title = "Loaded";
-}
-
-function injectPlugin() {
- var child = document.createElement('div');
- child.innerHTML = '<embed type="application/vnd.npapi-test" src="foo"' +
- ' name="invoke_js_function_on_create" id="plugin"' +
- ' mode="np_embed"></embed>';
- document.getElementById('content').appendChild(child);
- // Plugins are loaded synchronously during layout, so the plugin has either
- // been loaded or blocked at this point.
- var plugin = document.getElementById('plugin');
- // Check for the "loadedProperty" to determine if plugin is loaded.
- if (plugin.loadedProperty == true) {
- document.title = "Loaded";
- } else {
- document.title = "Not Loaded";
- }
-}
-</script>
-</head>
-<body onload='injectPlugin();'>
-<div id='content'></div>
-</embed>
-</body>
-</html>
« no previous file with comments | « chrome/test/data/load_all_blocked_plugins.html ('k') | chrome/test/data/plugin_delete_self_at_load.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698