summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_5/extensions/proxy-enumeration.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/ecma_5/extensions/proxy-enumeration.js')
-rw-r--r--js/src/tests/ecma_5/extensions/proxy-enumeration.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/tests/ecma_5/extensions/proxy-enumeration.js b/js/src/tests/ecma_5/extensions/proxy-enumeration.js
new file mode 100644
index 000000000..f872d635d
--- /dev/null
+++ b/js/src/tests/ecma_5/extensions/proxy-enumeration.js
@@ -0,0 +1,4 @@
+var list = Object.getOwnPropertyNames(this);
+var found = list.indexOf("Proxy") != -1;
+assertEq(found, true)
+reportCompare(true, true)