| Index: LayoutTests/fast/history/resources/replaceState-during-beforeunload.html
|
| diff --git a/LayoutTests/fast/history/resources/replaceState-during-beforeunload.html b/LayoutTests/fast/history/resources/replaceState-during-beforeunload.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..232859e3d43df092f0a7f6ba2703330cc623a26b
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/history/resources/replaceState-during-beforeunload.html
|
| @@ -0,0 +1,11 @@
|
| +<body>
|
| +<div style="height: 2000px;"></div>
|
| +<script>
|
| +history.back();
|
| +
|
| +window.onbeforeunload = function() {
|
| + history.replaceState({foo:'bar'}, null, "#");
|
| + window.scrollTo(0, 1000);
|
| +}
|
| +</script>
|
| +</body>
|
|
|