js/src/tests/js1_8_5/regress/regress-569306.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/tests/js1_8_5/regress/regress-569306.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +function f() {}
     1.5 +var g = new Function();
     1.6 +delete Function;
     1.7 +function h() {}
     1.8 +
     1.9 +assertEq(f.__proto__, g.__proto__);
    1.10 +assertEq(g.__proto__, h.__proto__);
    1.11 +assertEq(false, "Function" in this);
    1.12 +
    1.13 +reportCompare("ok", "ok", "bug 569306");

mercurial