blob: f63facf4f7b351f4f1d3c2e6fa8a18d7c50838d1 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.setCanOpenWindows(true);
testRunner.setPopupBlockingEnabled(false);
testRunner.overridePreference('WebKitSupportsMultipleWindows', false);
testRunner.waitUntilDone();
}
function opened(result) {
// Called by the embedded iframe.
if (result == window) {
document.writeln("PASS");
document.close();
}
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body>
<iframe src="resources/child-opens-window.html"></iframe>
FAIL
</body>
</html>