5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.setCanOpenWindows(true);
8 testRunner.setPopupBlockingEnabled(false);
9 testRunner.overridePreference('WebKitSupportsMultipleWindows', false);
10 testRunner.waitUntilDone();
13 function opened(result) {
14 // Called by the embedded iframe.
16 document.writeln("PASS");
18 if (window.testRunner)
19 testRunner.notifyDone();
25 <iframe src="resources/child-opens-window.html"></iframe>