blob: c597e396191d86d0d501e6f2fe2b5c85f0afe24d [file] [log] [blame]
<html> <!-- webkit-test-runner [ JavaScriptCanOpenWindowsAutomatically=false ] -->
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<button id="test" onclick="popup()" style="display:none"></button>
<div id="console"></div>
<script>
var win;
function popup() {
win = window.open("about:blank", "blank");
shouldBeNull("win");
}
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
document.getElementById("test").click();
if (window.testRunner)
testRunner.notifyDone();
</script>
</body>
</html>