| Index: third_party/WebKit/LayoutTests/fast/history/saves-state-after-fragment-nav.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/history/saves-state-after-fragment-nav.html b/third_party/WebKit/LayoutTests/fast/history/saves-state-after-fragment-nav.html
|
| index a5be62fec7a4f5f5deb4936b21b5619f8d734848..17b55e4c074ede4bf9505161b1f46c4f9ff49c56 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/history/saves-state-after-fragment-nav.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/history/saves-state-after-fragment-nav.html
|
| @@ -15,9 +15,9 @@ function navigateToHash(field) {
|
| function navigateAwayAndBack() {
|
| // Assigning to location does not create a history entry, so
|
| // instead we simulate a link click.
|
| - var evt = document.createEvent("MouseEvents");
|
| + var evt = document.createEvent("MouseEvents");
|
| evt.initMouseEvent("click", true, true, window,
|
| - 0, 0, 0, 0, 0, false, false, false, false, 0, null);
|
| + 0, 0, 0, 0, 0, false, false, false, false, 0, null);
|
| document.getElementById('anchor').dispatchEvent(evt);
|
| }
|
|
|
| @@ -45,6 +45,6 @@ function runTestStep() {
|
| </script>
|
| <body onload='runTestStep()' onunload='/*suppress page cache*/'>
|
| <input id='field'></input>
|
| - <a id='anchor' href='data:text/html,<body onload="history.back()"></body>'>go away and come back</a>
|
| + <a id='anchor' href='resources/back-on-load.html'>go away and come back</a>
|
| </body>
|
| </html>
|
|
|