Index: LayoutTests/inspector-protocol/page/javascriptDialogEvents.html |
diff --git a/LayoutTests/inspector-protocol/page/javascriptDialogEvents.html b/LayoutTests/inspector-protocol/page/javascriptDialogEvents.html |
index 6af69b3ba5d32bdf59815e34e8e91df4ef6f56aa..28e52121a6cf477d767f00c356ebe9e9d3169b58 100644 |
--- a/LayoutTests/inspector-protocol/page/javascriptDialogEvents.html |
+++ b/LayoutTests/inspector-protocol/page/javascriptDialogEvents.html |
@@ -3,7 +3,7 @@ |
<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/protocol-test.js"></script> |
<script> |
-window.addEventListener("beforeunload", onBeforeUnload); |
+window.onbeforeunload = onBeforeUnload; |
function onBeforeUnload() |
{ |