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

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

Issue 7983013: Merge 95259 - Fragment navigations should interrupt a provisional load of a different document (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
OLDNEW
1 <!-- 1 <!--
2 We intentionally want the page to load slowly (every time, hence no caching), so 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 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 4 is provisional for a while (long enough for the window.location = '#foo' script
5 to run and stop that load). 5 to run and stop that load).
6 --> 6 -->
7 <?php 7 <?php
8 8
9 sleep(2); 9 sleep(2);
10 10
(...skipping 25 matching lines...) Expand all
36 } 36 }
37 37
38 // Make sure there's no page cache. 38 // Make sure there's no page cache.
39 onunload = function() { }; 39 onunload = function() { };
40 </script> 40 </script>
41 <p> 41 <p>
42 Tests that a history navigation that is aborted by a fragment change doesn't 42 Tests that a history navigation that is aborted by a fragment change doesn't
43 update the provisional history item. This test relies on 43 update the provisional history item. This test relies on
44 <code>layoutTestController.dumpBackForwardList</code> to verify correctness 44 <code>layoutTestController.dumpBackForwardList</code> to verify correctness
45 and thus can only be run via DumpRenderTree.</p> 45 and thus can only be run via DumpRenderTree.</p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698