Bug 493281 - Add a crashtest.

This commit is contained in:
Blake Kaplan 2009-08-10 16:01:42 -07:00
parent 41dc1bdf6b
commit 0a0f22bdc5
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<html>
<body>
<div id="foo">
<script>with (document.all) foo</script>
</div>
</body>
</html>

View File

@ -0,0 +1,12 @@
<html>
<body>
<div id="foo">
<script>
function get(x) { return x }
obj = {};
obj.__proto__ = get(document.all);
obj.foo
</script>
</div>
</body>
</html>

View File

@ -47,5 +47,7 @@ skip load 458637-1.html # sporadically fails -- see bug 473680
load 472593-1.html
load 474041-1.svg
load 483818-1.html
load 493281-1.html
load 493281-2.html
load 490760-1.xhtml
load 494810-1.html