| Index: content/test/data/navigation_controller/beforeunload_dialog.html
|
| diff --git a/content/test/data/navigation_controller/beforeunload_replacestate_2.html b/content/test/data/navigation_controller/beforeunload_dialog.html
|
| similarity index 62%
|
| copy from content/test/data/navigation_controller/beforeunload_replacestate_2.html
|
| copy to content/test/data/navigation_controller/beforeunload_dialog.html
|
| index 0a65d257d3df1119ef641a1daeb5f3c5e2712e48..8e3c825e629fa5f5d2a62ed14fb1aad72c51bf73 100644
|
| --- a/content/test/data/navigation_controller/beforeunload_replacestate_2.html
|
| +++ b/content/test/data/navigation_controller/beforeunload_dialog.html
|
| @@ -2,7 +2,9 @@
|
| <head>
|
| <script>
|
| window.addEventListener("beforeunload", function (event) {
|
| - window.history.replaceState(null, "", "beforeunload_replacestate_2.html");
|
| + setTimeout(function() {
|
| + window.alert("hi");
|
| + }, 0);
|
| });
|
| </script>
|
| </head>
|
|
|