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

Unified Diff: content/test/data/npapi/npobject_lifetime_test.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/npobject_lifetime_test.html
diff --git a/content/test/data/npapi/npobject_lifetime_test.html b/content/test/data/npapi/npobject_lifetime_test.html
deleted file mode 100644
index 634fad813958497dc93c05a78b61721a3816e1d8..0000000000000000000000000000000000000000
--- a/content/test/data/npapi/npobject_lifetime_test.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-NPObject Lifetime test<p>
-
-Tests the case where a plugin holds on to an NPObject reference
-to another plugin in a different frame in the page and whether
-the npobject is callable when the frame is destroyed.
-
-<div ID=npobject_lifetime_test_instance2>
-<iframe src="npobject_lifetime_test_second_instance.html" name="plugin_frame">
-</iframe>
-</div>
-
-<embed type="application/vnd.npapi-test"
- src="foo"
- name="npobject_lifetime_test"
- id="1"
- mode="np_embed">
-
-<script>
-
-function GetSecondPluginInstance() {
- var plugin_frame = window.frames["plugin_frame"];
- if (!plugin_frame) {
- alert("failed to find frame in frames list");
- return;
- }
-
- var plugin = plugin_frame.document.getElementById(2);
- if (!plugin) {
- alert("Failed to locate second plugin");
- return;
- }
- return plugin;
-}
-
-function DeleteSecondPluginInstance() {
- var frame_div = document.getElementById("npobject_lifetime_test_instance2");
- if (frame_div.parentNode && frame_div.parentNode.removeChild) {
- frame_div.parentNode.removeChild(frame_div);
- }
-}
-</script>
-
-</body>
-</html>
-
« no previous file with comments | « content/test/data/npapi/npobject_identity.html ('k') | content/test/data/npapi/npobject_lifetime_test_second_instance.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698