5 if (window.testRunner) {
6 testRunner.waitUntilDone();
7 testRunner.dumpAsText();
11 history.replaceState("initialState", "", "");
12 history.pushState("", "", "other.html");
16 onpopstate = function (evt) {
17 if (evt.state == "initialState")
18 location.href = "resources/check-referrer.html";
22 <body onload="test()">
24 Tests that when navigating back from a history entry that was created by
25 history.pushState(), the outgoing referrer is correctly updated.
28 FAIL: popstate event was never received