mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
Add test for bug 569306.
This commit is contained in:
parent
e6a3c1073c
commit
49e3dca9b0
@ -21,3 +21,4 @@ script regress-563210.js
|
||||
script regress-563221.js
|
||||
script regress-566549.js
|
||||
script regress-566914.js
|
||||
script regress-569306.js
|
10
js/src/tests/js1_8_5/regress/regress-569306.js
Normal file
10
js/src/tests/js1_8_5/regress/regress-569306.js
Normal 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");
|
Loading…
Reference in New Issue
Block a user