23 lines
402 B
HTML
23 lines
402 B
HTML
<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>
|