• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html manifest="resources/navigating-away-while-cache-attempt-in-progress.manifest">
2
3<script>
4if (window.layoutTestController) {
5    layoutTestController.dumpAsText()
6    layoutTestController.waitUntilDone();
7}
8
9function navigateAway() {
10    if (window.layoutTestController)
11        layoutTestController.notifyDone();
12    else
13        window.location.href = "about:blank"
14}
15
16setTimeout(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>
22