Index: LayoutTests/fast/events/dispatch-event-no-document.html |
diff --git a/LayoutTests/fast/events/dispatch-event-no-document.html b/LayoutTests/fast/events/dispatch-event-no-document.html |
index 7f99ad5b92dcc14ca46a4a53ce699aafefe0f182..ccee7f8a3b37323b269ee117c1a68a76044b0939 100644 |
--- a/LayoutTests/fast/events/dispatch-event-no-document.html |
+++ b/LayoutTests/fast/events/dispatch-event-no-document.html |
@@ -1,6 +1,6 @@ |
<script> |
function handleEvent(message) { |
- document.getElementById("log").innerHTML = "FAIL: " + message + " handled.<br>"; |
+ document.getElementById("log").innerHTML = "PASS: " + message + " handled.<br>"; |
} |
function test() { |
@@ -21,6 +21,6 @@ function test() { |
} |
</script> |
<body onload="test()"> |
-<p>The test verifies that EventTarget with an event listener but without ScriptExecutionContext (not inserted into Document) does not crash during an attempt to dispatch an event. It should just not call the handler. This is what FF 3.5 is also doing.</p> |
-<p>Test passes if there is no crash, and event is not dispatched.</p> |
-<div id="log">PASS</div> |
+<p>The test verifies that EventTarget with an event listener not inserted into a Document does not crash during an attempt to dispatch an event.</p> |
+<p>Test passes if there is no crash, and event is dispatched.</p> |
+<div id="log">FAIL</div> |