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

Unified Diff: content/test/data/npapi/npobject_released_on_destruction.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 | « content/test/data/npapi/npobject_proxy.html ('k') | content/test/data/npapi/npobject_set_exception.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/npapi/npobject_released_on_destruction.html
diff --git a/content/test/data/npapi/npobject_released_on_destruction.html b/content/test/data/npapi/npobject_released_on_destruction.html
deleted file mode 100644
index b98779fadc6e3b97e9dc421fa795e3f2976e8c7d..0000000000000000000000000000000000000000
--- a/content/test/data/npapi/npobject_released_on_destruction.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
-
-<head>
-<script src="npapi.js"></script>
-<script>
-
-function returnedMethod() {
-}
-
-function dummyMethod() {
- return returnedMethod;
-}
-
-var test_object;
-function Init() {
- var plg = window.document["plg"];
- // Create the NPObjectStub in the plugin process first. This object's
- // deallocate function will release the NPObject below.
-
- // Then create an NPObjectProxy in the plugin process that holds on to the
- // dummyMethod function above.
- plg.remember(dummyMethod);
-}
-</script>
-</head>
-
-
-<body>
-<div id="statusPanel" style="border: 1px solid red; width: 100%">
-Test running....
-</div>
-
-
-NPObject released on destruction<p>
-
-Tests that if a plugin creates an NPObject and releases it on destruction,
-there's no crash when the plugin goes away.
-
-
-<DIV ID=PluginDiv>
-<embed name="plg" type="application/x-webkit-test-netscape"></embed>
-</DIV>
-<script>
- Init();
-</script>
-
-</body>
-</html>
-
« no previous file with comments | « content/test/data/npapi/npobject_proxy.html ('k') | content/test/data/npapi/npobject_set_exception.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698