blob: b93fd3ef728d9f5419f7ce198485a8c14287ff55 [file] [log] [blame]
<html>
<script>
if (!window.layoutTestController) {
alert('this test can only be run by DumpRenderTree')
} else {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
layoutTestController.setCallCloseOnWebViews(false);
layoutTestController.setCanOpenWindows();
layoutTestController.setCloseRemainingWindowsWhenComplete(false);
window.open('resources/open-and-close-window-with-plugin.html');
}
</script>
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.
</html>