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