WebCore/manual-tests/quit-inside-unload.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 04 Oct 2010 01:32:07 +0300
changeset 2 303757a437d3
parent 0 4f2f89ce4247
permissions -rw-r--r--
Revision: 201037 Kit: 201039

<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>