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

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

Issue 8018010: Merge 95322 - http/tests/history/back-with-fragment-change.php fails on non-Chromium bots (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!--
2 We intentionally want the page to load slowly (every time, hence no caching), so
3 that when back-with-fragment-change-target.html calls history.back(), the load
4 is provisional for a while (long enough for the window.location = '#foo' script
5 to run and stop that load).
6 -->
7 <?php 1 <?php
8 2 // We intentionally want the page to load slowly (every time, hence no caching),
3 // so that when back-with-fragment-change-target.html calls history.back(), the
4 // load is provisional for a while (long enough for the window.location = '#foo'
5 // script to run and stop that load).
9 sleep(2); 6 sleep(2);
10 7
11 header("Cache-control: no-cache, no-store"); 8 header("Cache-control: no-cache, no-store");
12 header("Pragma: no-cache"); 9 header("Pragma: no-cache");
13 ?> 10 ?>
14 11
15 <script> 12 <script>
16 if (window.layoutTestController) { 13 if (window.layoutTestController) {
17 layoutTestController.dumpBackForwardList(); 14 layoutTestController.dumpBackForwardList();
18 layoutTestController.dumpAsText(); 15 layoutTestController.dumpAsText();
(...skipping 17 matching lines...) Expand all
36 } 33 }
37 34
38 // Make sure there's no page cache. 35 // Make sure there's no page cache.
39 onunload = function() { }; 36 onunload = function() { };
40 </script> 37 </script>
41 <p> 38 <p>
42 Tests that a history navigation that is aborted by a fragment change doesn't 39 Tests that a history navigation that is aborted by a fragment change doesn't
43 update the provisional history item. This test relies on 40 update the provisional history item. This test relies on
44 <code>layoutTestController.dumpBackForwardList</code> to verify correctness 41 <code>layoutTestController.dumpBackForwardList</code> to verify correctness
45 and thus can only be run via DumpRenderTree.</p> 42 and thus can only be run via DumpRenderTree.</p>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698