summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug713944.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug713944.js')
-rw-r--r--js/src/jit-test/tests/auto-regress/bug713944.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug713944.js b/js/src/jit-test/tests/auto-regress/bug713944.js
new file mode 100644
index 000000000..36377b2f2
--- /dev/null
+++ b/js/src/jit-test/tests/auto-regress/bug713944.js
@@ -0,0 +1,16 @@
+// Binary: cache/js-dbg-64-7e28cce342a6-linux
+// Flags:
+//
+function f() {
+ constructor = {}
+}
+Object.defineProperty(function() {
+ return {}.__proto__
+}(), "constructor", {
+ set: function() {}
+})
+f()
+Object.defineProperty({}.__proto__, "constructor", {
+ value: 3
+})
+f()