2010-06-02 Darin Fisher <darin@chromium.org>
[WebKit-https.git] / LayoutTests / http / tests / navigation / pushstate-updates-referrer.html
1 <script>
2 if (window.layoutTestController) {
3   layoutTestController.dumpAsText();
4   layoutTestController.waitUntilDone();
5 }
6
7 onload = function() {
8   history.pushState(null, null, "/foo");
9
10   sessionStorage.expectedReferrer = location.href;
11   location = "/navigation/resources/check-referrer.html";
12 }
13 </script>