blob: 613d5de43596031f1701b8b93a8b22e4df591d2b [file] [log] [blame]
<html>
<body>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.setCanOpenWindows(true);
testRunner.setCloseRemainingWindowsWhenComplete(true);
}
win = window.open("about:blank");
alert(win ? "FAIL" : "about:blank successfully blocked");
win = window.open("data:text/html, hello");
alert(win ? "data url should not be blocked" : "FAIL");
win = window.open("data:text/html, about");
alert(win ? "data url should not be blocked" : "FAIL");
</script>
</body>
</html>