Index: LayoutTests/fast/dom/HTMLScriptElement/move-in-beforeload.html |
diff --git a/LayoutTests/fast/dom/HTMLScriptElement/move-in-beforeload.html b/LayoutTests/fast/dom/HTMLScriptElement/move-in-beforeload.html |
deleted file mode 100644 |
index 31bd04bd3263809201f900d7c88a5532cbc20298..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/dom/HTMLScriptElement/move-in-beforeload.html |
+++ /dev/null |
@@ -1,32 +0,0 @@ |
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
-<html> |
-<head> |
-<script src="../../../resources/js-test.js"></script> |
-<body onload="test()"> |
-<div id="console"></div> |
-<iframe src="resources/frame.html"></iframe> |
-<script> |
-if (window.testRunner) { |
- testRunner.dumpAsText(); |
-} |
- |
-function test() |
-{ |
- var s = document.createElement("script"); |
- s.addEventListener("beforeload", function() { |
- var s = document.body.removeChild(document.getElementsByTagName("script")[2]); |
- document.getElementsByTagName("iframe")[0].contentDocument.body.appendChild(s); |
- testPassed(""); |
- }, false); |
- s.addEventListener("error", function() { |
- testFailed("error event should not fire."); |
- }, false); |
- s.addEventListener("load", function() { |
- testFailed("script should not be loaded"); |
- }, false); |
- s.src = "external.js"; |
- document.body.appendChild(s); |
-} |
-</script> |
-</body> |
-</html> |