Sign in
ara-mdk
/
platform
/
external
/
webkit
/
b2e091a5ffd9e2c395084b2c0bb09a35645af3a3
/
.
/
Source
/
WebCore
/
manual-tests
/
quit-inside-unload.html
blob: 23ae71d3311001bc07029c9a51acb9c2cfc031dd [
file
] [
log
] [
blame
]
<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>