blob: a1df80d53ce169e8faf421ab206ebd4954940682 [file] [log] [blame]
<html>
<script>
function crash()
{
try {
e.apply(w, ['URL']);
} catch (ex) { }
document.body.innerHTML = "PASS: null security context for URL did not crash";
if (window.testRunner)
testRunner.notifyDone();
}
function load()
{
w.close();
setTimeout(crash, 30);
}
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.setCanOpenWindows();
testRunner.setCloseRemainingWindowsWhenComplete(true);
testRunner.waitUntilDone();
}
e = (w = open()).eval;
</script>
<body onload="load()">
</body>
</html>