OLD | NEW |
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 Loading... |
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> |
OLD | NEW |