<html> | |
<head> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
window.onload = function() | |
{ | |
frame = document.body.appendChild(document.createElement("iframe")); | |
frame.contentWindow.open = null; | |
frame.contentWindow.__defineGetter__("open", function() { | |
document.body.removeChild(frame); | |
return function() { }; | |
}); | |
frame.contentDocument.open(1, 1, 1, 1, 1); | |
} | |
</script> | |
</head> | |
<body> | |
This test passes if it doesn't crash. | |
</body> | |
</html> |