Crash closing window containing Flash plug-in
[WebKit-https.git] / LayoutTests / plugins / geturlnotify-during-document-teardown.html
1 <html>
2     <head>
3         <script>
4         if (!window.layoutTestController) {
5             alert('this test can only be run by DumpRenderTree')
6         } else {
7             layoutTestController.dumpAsText();
8             layoutTestController.waitUntilDone();
9             layoutTestController.setCallCloseOnWebViews(false);
10             layoutTestController.setCanOpenWindows();
11             layoutTestController.setCloseRemainingWindowsWhenComplete(false);
12             window.open("resources/geturlnotify-on-destroy.html");
13         }
14         </script>
15     </head>
16     <body>
17         This tests that performing a load during document teardown does not
18         cause a crash.
19         <a href="https://bugs.webkit.org/show_bug.cgi?id=38797">Bug #38797</a>
20     </body>
21 </html>