1
2
3
4
5
6
7
8
9
10
11
12
13
content / test / data / navigation_controller / beforeunload_dialog.html [blame]
<html>
<head>
<script>
window.addEventListener("beforeunload", function (event) {
setTimeout(function() {
window.alert("hi");
}, 0);
});
</script>
</head>
<body>
</body>
</html>