summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/regress/regress-569306.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/js1_8_5/regress/regress-569306.js')
-rw-r--r--js/src/tests/js1_8_5/regress/regress-569306.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/src/tests/js1_8_5/regress/regress-569306.js b/js/src/tests/js1_8_5/regress/regress-569306.js
new file mode 100644
index 000000000..221782186
--- /dev/null
+++ b/js/src/tests/js1_8_5/regress/regress-569306.js
@@ -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");