| Index: LayoutTests/fast/loader/back-after-same-document-location-replace.html
|
| diff --git a/LayoutTests/fast/loader/back-after-same-document-location-replace.html b/LayoutTests/fast/loader/back-after-same-document-location-replace.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3530db6d14e8f6b4cce89f98323911caf73d06db
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/loader/back-after-same-document-location-replace.html
|
| @@ -0,0 +1,24 @@
|
| +<body>
|
| +<script>
|
| +if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.waitUntilDone();
|
| +}
|
| +
|
| +window.onload = function() {
|
| + setTimeout(function() {
|
| + location.href = "#1";
|
| + location.replace("#2");
|
| + history.back();
|
| + }, 0);
|
| +};
|
| +
|
| +window.onhashchange = function() {
|
| + if (location.hash != "")
|
| + return;
|
| + document.body.appendChild(document.createTextNode("PASS"));
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| +}
|
| +</script>
|
| +</body>
|
|
|