blob: 6066ec13bb46fe5809ee143425709e40e637e723 [file] [log] [blame]
<html>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function foo() {
window.prototype;
}
Object.getOwnPropertyDescriptor(window, "statusbar");
// Need to baseline compile foo().
for (var i = 0; i < 200; i++)
foo();
window.statusbar = false;
Object.getOwnPropertyDescriptor(window, "statusbar");
</script>
<p>This test passes if it does not crash.</p>
</body>
</html>