summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testImplicitThisMiss.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/basic/testImplicitThisMiss.js')
-rw-r--r--js/src/jit-test/tests/basic/testImplicitThisMiss.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/testImplicitThisMiss.js b/js/src/jit-test/tests/basic/testImplicitThisMiss.js
new file mode 100644
index 000000000..8539001ef
--- /dev/null
+++ b/js/src/jit-test/tests/basic/testImplicitThisMiss.js
@@ -0,0 +1,2 @@
+// |jit-test| error:TypeError
+Function("Object.defineProperty(this, 'x', { configurable:true, get:function() { delete this['x'] } }); x()")();