Index: webkit/data/layout_tests/chrome/fast/dom/onload-fires-twice.html |
=================================================================== |
--- webkit/data/layout_tests/chrome/fast/dom/onload-fires-twice.html (revision 12664) |
+++ webkit/data/layout_tests/chrome/fast/dom/onload-fires-twice.html (working copy) |
@@ -1,22 +0,0 @@ |
-<html> |
-<head> |
- <!-- any unknown element in HEAD will trigger creation of a BODY node --> |
- <anytag> |
- <script type="text/javascript"> |
- if (window.layoutTestController) |
- layoutTestController.dumpAsText() |
- |
- var count = 2; |
- function testDoubleLoad() { |
- if (!--count) |
- document.getElementById("status").innerHTML = "failed"; |
- } |
- </script> |
-</head> |
-<body onload="testDoubleLoad()"> |
- <p>Makes sure an inline "load" event does not fire twice. This may occur if<br> |
- an inline event listener is not removed prior to being re-added in the case of<br> |
- multiple body nodes in the document.</p> |
- <p>This test has <span id="status">succeeded</span>. |
-</body> |
-</html> |