17 lines
462 B
HTML
17 lines
462 B
HTML
<!DOCTYPE html><!-- webkit-test-runner [ JavaScriptCanOpenWindowsAutomatically=false ] -->
|
|
<html>
|
|
<head>
|
|
<script>
|
|
if (window.testRunner) {
|
|
testRunner.dumpAsText();
|
|
testRunner.setCanOpenWindows();
|
|
testRunner.setCloseRemainingWindowsWhenComplete(true);
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<iframe name="A"></iframe>
|
|
<iframe name="B" src="data:text/html,<script>console.log(window.open('about:blank', 'A') ? 'FAIL' : 'PASS');</script>"></iframe>
|
|
</body>
|
|
</html>
|