Null check m_resource in SubresourceLoader::didReceiveResponse
[WebKit-https.git] / LayoutTests / http / tests / multipart / stop-crash.html
1 <html>
2 <head>
3     <script>
4         if (window.testRunner) {
5             testRunner.dumpAsText();
6             testRunner.waitUntilDone();
7         }
8
9         function firstPartLoaded()
10         {
11             window.stop();
12             document.getElementById("results").innerHTML = "PASS";
13             if (window.testRunner)
14                 testRunner.notifyDone();
15         }
16     </script>
17 </head>
18 <body>
19     <p>
20         Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13360">http://bugs.webkit.org/show_bug.cgi?id=13360</a>
21         REGRESSION: Crash closing live web cam viewer page</i>.
22     </p>
23     <p>
24         If WebKit does not assert or crash after the test, then it passed.
25     </p>
26     <img width=24 height=24 src="resources/multipart.py?interval=0&img1=2x2-green.png&img2=2x2-green.png&wait=3" onload="firstPartLoaded()">
27     <p id="results"></p>
28 </body>
29 </html>