3 if (!window
.testRunner
) {
4 alert('this test can only be run by DumpRenderTree')
6 testRunner
.dumpAsText();
7 testRunner
.waitUntilDone();
8 testRunner
.setCallCloseOnWebViews(false);
9 testRunner
.setCanOpenWindows();
10 testRunner
.setCloseRemainingWindowsWhenComplete(false);
11 window
.open('resources/open-and-close-window-with-plugin.html');
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.