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

Unified Diff: content/test/data/npapi/self_delete_plugin_invoke_alert.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
Index: content/test/data/npapi/self_delete_plugin_invoke_alert.html
diff --git a/content/test/data/npapi/self_delete_plugin_invoke_alert.html b/content/test/data/npapi/self_delete_plugin_invoke_alert.html
deleted file mode 100644
index 4176d2c9d7b18ed9bbdb747da0d2829f7838bace..0000000000000000000000000000000000000000
--- a/content/test/data/npapi/self_delete_plugin_invoke_alert.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<html>
-<head>
-<title>Self Deleting Plugin Test - Invoke</title>
-<script src="npapi.js"></script>
-<script>
-function DeletePluginWithinScript() {
- var plugin_div = document.getElementById("PluginDiv");
- plugin_div.innerHTML = "Object Deleted";
- alert('plugin deleted');
-}
-function SuccessCallback() {
- onSuccess("self_delete_plugin_invoke_alert", 1);
-}
-function TimeoutCallback() {
- var plg = window.document["plg"];
- var plg2 = window.document["plg2"];
- plg.testCallback("DeletePluginWithinScript");
- plg2.testCallback("SuccessCallback"); // will fail if the plugin crashed
-}
-</script>
-</head>
-
-<body>
-
-<h2>Test to delete a plugin during script execution</h2>
-
-<p>
-This test is for a corner case when a plugin executes a script
-that deletes the invoking plugin itself then shows a modal dialog.
-See http://code.google.com/p/chromium/issues/detail?id=4270.
-</p>
-
-<DIV ID=PluginDiv>
-<embed name="plg" type="application/x-webkit-test-netscape"></embed>
-</DIV>
-<embed name="plg2" type="application/x-webkit-test-netscape"></embed>
-<script>
- setTimeout('TimeoutCallback()', 0);
-</script>
-
-</body>
-</html>
-
« no previous file with comments | « content/test/data/npapi/self_delete_plugin_invoke.html ('k') | content/test/data/npapi/self_delete_plugin_stream.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698