WebCore/manual-tests/quit-inside-unload.html
changeset 0 4f2f89ce4247
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/WebCore/manual-tests/quit-inside-unload.html	Fri Sep 17 09:02:29 2010 +0300
@@ -0,0 +1,14 @@
+<script>
+    var showedAlert = false;
+    function handleUnload()
+    {
+        if (showedAlert)
+            return;
+
+        showedAlert = true;
+        alert("Now Quit Safari. Do not dismiss this alert first.");
+    }
+</script>
+<body onunload="handleUnload()">
+    Close this window
+</body>