summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug735869.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/ion/bug735869.js')
-rw-r--r--js/src/jit-test/tests/ion/bug735869.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug735869.js b/js/src/jit-test/tests/ion/bug735869.js
new file mode 100644
index 000000000..3a74a1339
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug735869.js
@@ -0,0 +1,11 @@
+o = {}
+for (let i = 0; i < 70; i++) {
+ try {
+ p
+ } catch (e) {}
+ (function() {
+ for (x in Iterator.prototype) {}
+ })()
+ o.__proto__ = null
+ delete o.__proto__
+}