Sign in
webkit
/
WebKit
/
e59620e2c2a5636b9d9a05fc64676565efddf2aa
/
.
/
LayoutTests
/
imported
/
blink
/
fast
/
history
/
resources
/
replaceState-during-beforeunload.html
blob: 232859e3d43df092f0a7f6ba2703330cc623a26b [
file
] [
log
] [
blame
]
<body>
<div
style
=
"
height
:
2000px
;
"
></div>
<script>
history
.
back
();
window
.
onbeforeunload
=
function
()
{
history
.
replaceState
({
foo
:
'bar'
},
null
,
"#"
);
window
.
scrollTo
(
0
,
1000
);
}
</script>
</body>