LayoutTests:
[WebKit-https.git] / LayoutTests / plugins / open-and-close-window-with-plugin.html
1 <html>
2 <script>
3 if (!window.layoutTestController) {
4     alert('this test can only be run by DumpRenderTree')
5     return;
6 }
7
8 layoutTestController.dumpAsText();
9 layoutTestController.waitUntilDone();
10 layoutTestController.setCallCloseOnWebViews(false);
11 layoutTestController.setCanOpenWindows();
12
13 window.open('resources/open-and-close-window-with-plugin.html');
14 </script>
15 This tests that opening a window with a WebView that contains a plugin, and then closing the window without calling -[WebView close] does not leak the window or the web view.
16 </html>