Sign in
webkit
/
WebKit
/
37b8adafa5245218cbc0b07de5bf367d62cba339
/
.
/
Tools
/
TestWebKitAPI
/
Tests
/
WebKit
/
beforeunload-slow.html
blob: fa6194366aa8912cc090e765490d36c4898239d4 [
file
] [
log
] [
blame
]
<!DOCTYPE html>
<html>
<head>
<script>
function
sleep
(
millisecondsToWait
)
{
var
now
=
new
Date
().
getTime
();
while
(
new
Date
().
getTime
()
<
now
+
millisecondsToWait
)
{
}
}
onbeforeunload
=
(
ev
)
=>
{
sleep
(
70
);
}
</script>
</head>
</html>