2 if (window
.testRunner
) {
3 testRunner
.dumpBackForwardList();
4 testRunner
.dumpAsText();
5 testRunner
.waitUntilDone();
8 window
.location
= 'resources/slow-resource.pl?delay=100';
9 setTimeout(function() {window
.location
= 'navigation-interrupted-by-fragment.html#abc'}, 10);
12 onhashchange = function() {
13 setTimeout(done
, 100);
17 console
.log('Visited fragment and waited.');
18 if (window
.testRunner
) {
19 testRunner
.notifyDone();
23 console
.log('First visit.');
26 <p>This test checks that interrupting a slow navigation with a fragment navigation will cancel the first navigation.