Index: LayoutTests/plugins/npruntime/object-from-destroyed-plugin-in-subframe.html |
diff --git a/LayoutTests/plugins/npruntime/object-from-destroyed-plugin-in-subframe.html b/LayoutTests/plugins/npruntime/object-from-destroyed-plugin-in-subframe.html |
deleted file mode 100644 |
index 019b39fe5158f213571186272cb7b675c23fabb9..0000000000000000000000000000000000000000 |
--- a/LayoutTests/plugins/npruntime/object-from-destroyed-plugin-in-subframe.html |
+++ /dev/null |
@@ -1,35 +0,0 @@ |
- |
-<script src="../../resources/js-test.js"></script> |
-</head> |
-<script> |
-var subframe; |
-var testObject; |
- |
-function runTest() { |
- subframe = document.getElementById('subframe'); |
- subframe.contentWindow.document.documentElement.innerHTML = '<embed id="plugin" type="application/x-webkit-test-netscape" test="npruntime-object-from-destroyed-plugin"></embed>'; |
- |
- var plugin = subframe.contentWindow.document.getElementById('plugin'); |
- |
- // Get a reference to the plugin test object. |
- testObject = plugin.testObject; |
- |
- plugin.evaluate('window.top.subframe.parentNode.removeChild(window.top.subframe)') |
- |
- // 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()"> |
-<p id="description"></p> |
-<iframe id="subframe"></iframe> |
-<div id="console"></div> |
- |
-<script> |
-description("Test various operation on an NPObject whose plugin (that lives in a subframe) has been destroyed"); |
- |
-</script> |