Add test for bug 569306.

This commit is contained in:
Andreas Gal 2010-06-02 14:54:18 -07:00
parent e6a3c1073c
commit 49e3dca9b0
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");