WebCore/manual-tests/quit-inside-unload.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 09:07:27 +0300
branchRCL_3
changeset 1 9d347b658349
parent 0 4f2f89ce4247
permissions -rw-r--r--
Revision: 201037

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