Add test for bug 569306.

This commit is contained in:
Andreas Gal 2010-06-02 14:54:18 -07:00
parent 5d9a7d91af
commit 84c5602584
2 changed files with 11 additions and 0 deletions

View File

@ -21,3 +21,4 @@ script regress-563210.js
script regress-563221.js
script regress-566549.js
script regress-566914.js
script regress-569306.js

View File

@ -0,0 +1,10 @@
function f() {}
var g = new Function();
delete Function;
function h() {}
assertEq(f.__proto__, g.__proto__);
assertEq(g.__proto__, h.__proto__);
assertEq(false, "Function" in this);
reportCompare("ok", "ok", "bug 569306");