| Index: LayoutTests/http/tests/history/back-with-fragment-change.php
|
| diff --git a/LayoutTests/http/tests/history/back-with-fragment-change.php b/LayoutTests/http/tests/history/back-with-fragment-change.php
|
| deleted file mode 100644
|
| index 775c4cec3b33e3864190053e0b4de1f84f8e4ddc..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/http/tests/history/back-with-fragment-change.php
|
| +++ /dev/null
|
| @@ -1,42 +0,0 @@
|
| -<?php
|
| -// We intentionally want the page to load slowly (every time, hence no caching),
|
| -// so that when back-with-fragment-change-target.html calls history.back(), the
|
| -// load is provisional for a while (long enough for the window.location = '#foo'
|
| -// script to run and stop that load).
|
| -sleep(2);
|
| -
|
| -header("Cache-control: no-cache, no-store");
|
| -header("Pragma: no-cache");
|
| -?>
|
| -
|
| -<script>
|
| -if (window.testRunner) {
|
| - testRunner.dumpBackForwardList();
|
| - testRunner.dumpAsText();
|
| - testRunner.waitUntilDone();
|
| -}
|
| -
|
| -onload = function() {
|
| - if (sessionStorage.didNavigate) {
|
| - console.log('Should not have ended up back at the test start page');
|
| - delete sessionStorage.didNavigate;
|
| - if (window.testRunner)
|
| - testRunner.notifyDone();
|
| - return;
|
| - }
|
| -
|
| - // Change the location in a timeout to make sure it generates a history entry
|
| - setTimeout(function() {
|
| - window.location = 'resources/back-with-fragment-change-target.html'
|
| - sessionStorage.didNavigate = true;
|
| - }, 0);
|
| -}
|
| -
|
| -// Make sure there's no page cache.
|
| -onunload = function() { };
|
| -</script>
|
| -<p>
|
| -Tests that a history navigation that is aborted by a fragment change doesn't
|
| -update the provisional history item. This test relies on
|
| -<code>testRunner.dumpBackForwardList</code> to verify correctness
|
| -and thus can only be run via DumpRenderTree.</p>
|
|
|