Sign in
cobalt
/
cobalt
/
308ed6b84664d59944cd65f4b4359c28a2443be6
/
.
/
src
/
third_party
/
web_platform_tests
/
html
/
browsers
/
browsing-the-web
/
unloading-documents
/
navigation-within-beforeunload-1.html
blob: b96234fba2cb85b10cfa0e086c723f8aa0a82149 [
file
] [
log
] [
blame
]
<!doctype html>
004-1
<script>
addEventListener
(
"beforeunload"
,
function
()
{
if
(
top
.
counter
++
<
999
)
{
location
=
"navigation-within-beforeunload-2.html?"
+
top
.
counter
;
}
},
false
);
</script>