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

Unified Diff: LayoutTests/plugins/npruntime/object-from-destroyed-plugin.html

Issue 1319473007: Delete a bunch of NPAPI layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 3 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: LayoutTests/plugins/npruntime/object-from-destroyed-plugin.html
diff --git a/LayoutTests/plugins/npruntime/object-from-destroyed-plugin.html b/LayoutTests/plugins/npruntime/object-from-destroyed-plugin.html
deleted file mode 100644
index 180db42ed254789662daa67fee71ce96af519881..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/npruntime/object-from-destroyed-plugin.html
+++ /dev/null
@@ -1,29 +0,0 @@
-
-<script src="../../resources/js-test.js"></script>
-</head>
-<script>
-function runTest() {
- plugin = document.getElementById('plugin');
-
- // Get our test object.
- testObject = plugin.testObject;
-
- // Now destroy the plugin.
- plugin.parentNode.removeChild(plugin);
-
- // testObject is now a dangling object and every operation on it should throw.
- shouldThrow('testObject.gettingProperty');
- shouldThrow('testObject.settingProperty = 10');
- shouldThrow('testObject()');
- shouldThrow('new testObject();')
-}
-</script>
-<body onLoad="runTest()">
-<embed id="plugin" type="application/x-webkit-test-netscape" test="npruntime-object-from-destroyed-plugin"></embed>
-<p id="description"></p>
-<div id="console"></div>
-
-<script>
-description("Test various operation on an NPObject whose plugin has been destroyed");
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698