Index: LayoutTests/plugins/netscape-destroy-plugin-script-objects.html |
diff --git a/LayoutTests/plugins/netscape-destroy-plugin-script-objects.html b/LayoutTests/plugins/netscape-destroy-plugin-script-objects.html |
deleted file mode 100644 |
index 5ee495b51b68ed5b9e5e1941d56feebd87d67b95..0000000000000000000000000000000000000000 |
--- a/LayoutTests/plugins/netscape-destroy-plugin-script-objects.html |
+++ /dev/null |
@@ -1,40 +0,0 @@ |
-<html> |
-<script> |
-function runTest() |
-{ |
- if (window.testRunner) |
- testRunner.dumpAsText(); |
- |
- var successCount = 0; |
- var plugin = document.getElementById("testPlugin"); |
- plugin.logDestroy = true; |
- |
- var testObject = plugin.testObject; |
- plugin.parentNode.removeChild(plugin); |
- |
- try { |
- testObject.property; |
- } catch (e) { |
- if (e instanceof ReferenceError) |
- successCount++; |
- } |
- |
- try { |
- testObject.property = 'hello'; |
- } catch (e) { |
- if (e instanceof ReferenceError) |
- successCount++; |
- } |
- |
- if (successCount == 2) |
- document.getElementById('result').innerHTML = 'SUCCESS'; |
-} |
- |
-</script> |
- |
-<body onload="runTest();"> |
-This tests that accessing plugin script objects from a destroyed plugin cause throws the right exceptions. |
-<div id="result">FAILURE</div> |
-<embed id="testPlugin" type="application/x-webkit-test-netscape" width="200" height="200"></embed> |
-</body> |
-</html> |