OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <link id="img" rel="stylesheet" href="resources/stylesheet304.php"> | |
4 </head> | |
5 <body> | |
6 It's possible for a successful revalidation to cause events to fire synchronousl
y. | |
7 We shouldn't crash if one of those events stops the load. | |
8 See https://bugs.webkit.org/show_bug.cgi?id=72762. | |
9 <script> | |
10 if (window.testRunner) { | |
11 testRunner.dumpAsText(); | |
12 testRunner.waitUntilDone(); | |
13 } | |
14 | |
15 function obl(e) { | |
16 if (window.sessionStorage.getItem("reloaded")) { | |
17 window.stop(); | |
18 window.sessionStorage.removeItem("reloaded"); | |
19 setTimeout(finish, 0); | |
20 } else { | |
21 window.sessionStorage.reloaded = "true"; | |
22 location.reload(); | |
23 } | |
24 } | |
25 | |
26 function finish() { | |
27 if (window.testRunner) | |
28 testRunner.notifyDone(); | |
29 } | |
30 </script> | |
31 <object type="application/x-no-such-mime" onbeforeload="obl();"></embed> | |
32 </body> | |
33 </html> | |
OLD | NEW |