WebCore:
[WebKit-https.git] / LayoutTests / http / tests / appcache / navigating-away-while-cache-attempt-in-progress.html
1 <html manifest="resources/navigating-away-while-cache-attempt-in-progress.manifest">
2
3 <script>
4 if (window.layoutTestController) {
5     layoutTestController.dumpAsText()
6     layoutTestController.waitUntilDone();
7 }
8
9 function navigateAway() {
10     if (layoutTestController)
11         layoutTestController.notifyDone();
12     else
13         window.location.href = "about:blank"
14 }
15
16 setTimeout(navigateAway, 1000);
17
18 </script>
19 <div>This tests that navigating away while a cache is loading does not crash.</div>
20 <div>SUCCESS - did not crash</div>
21 </html>