Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Unified Diff: LayoutTests/http/tests/history/back-with-fragment-change.php

Issue 40513003: Delete/move the remaining stale tests in TestExpectations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete plugins/reentrant-update-widget-positions.html as well Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698