summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/class/newTargetProxyNative.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/non262/class/newTargetProxyNative.js')
-rw-r--r--js/src/tests/non262/class/newTargetProxyNative.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/src/tests/non262/class/newTargetProxyNative.js b/js/src/tests/non262/class/newTargetProxyNative.js
new file mode 100644
index 0000000000..89cdd64ab1
--- /dev/null
+++ b/js/src/tests/non262/class/newTargetProxyNative.js
@@ -0,0 +1,5 @@
+var proxyToArray = new Proxy(Array, {});
+new proxyToArray();
+
+if (typeof reportCompare === 'function')
+ reportCompare(0,0,"OK");