blob: b3abb40ce4c0cad08c2d6b5a0c0c664018042741 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<iframe></iframe>
<script>
var arrayConstructor = frames[0].Array;
arrayConstructor.prototype.foo = "bar";
var x = new arrayConstructor();
shouldBe("x.foo", '"bar"');
</script><script src="../../resources/js-test-post.js"></script>
</body>
</html>