mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add test for bug 569306.
This commit is contained in:
parent
5d9a7d91af
commit
84c5602584
@ -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