Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / loader / stateobjects / replacestate-updates-location.html
blobaaa84090e34640b32d0ec798d8e84eeee042902c
1 <script>
2 if (window.testRunner)
3 testRunner.dumpAsText();
5 onload = function() {
6 history.replaceState(null, null, "?foo");
8 if (location.search == "?foo") {
9 document.body.innerText = "PASS";
10 } else {
11 document.body.innerText = "FAIL: location.search is \'" + location.search + "\'";
14 </script>