17 lines
576 B
HTML
17 lines
576 B
HTML
<html>
|
|
<script>
|
|
if (!window.testRunner) {
|
|
alert('this test can only be run by DumpRenderTree')
|
|
} else {
|
|
testRunner.dumpAsText();
|
|
testRunner.waitUntilDone();
|
|
testRunner.setCallCloseOnWebViews(false);
|
|
testRunner.setCanOpenWindows();
|
|
testRunner.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>
|