summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/Promise/methods-non-enumerable.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/non262/Promise/methods-non-enumerable.js')
-rw-r--r--js/src/tests/non262/Promise/methods-non-enumerable.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/tests/non262/Promise/methods-non-enumerable.js b/js/src/tests/non262/Promise/methods-non-enumerable.js
new file mode 100644
index 0000000000..ea2228894b
--- /dev/null
+++ b/js/src/tests/non262/Promise/methods-non-enumerable.js
@@ -0,0 +1,4 @@
+assertEq(Object.keys(Promise).length, 0);
+assertEq(Object.keys(Promise.prototype).length, 0);
+
+reportCompare(0, 0, "ok");