summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Reflect/enumerate
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Reflect/enumerate')
-rw-r--r--js/src/tests/test262/built-ins/Reflect/enumerate/browser.js0
-rw-r--r--js/src/tests/test262/built-ins/Reflect/enumerate/shell.js0
-rw-r--r--js/src/tests/test262/built-ins/Reflect/enumerate/undefined.js13
3 files changed, 13 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Reflect/enumerate/browser.js b/js/src/tests/test262/built-ins/Reflect/enumerate/browser.js
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Reflect/enumerate/browser.js
diff --git a/js/src/tests/test262/built-ins/Reflect/enumerate/shell.js b/js/src/tests/test262/built-ins/Reflect/enumerate/shell.js
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Reflect/enumerate/shell.js
diff --git a/js/src/tests/test262/built-ins/Reflect/enumerate/undefined.js b/js/src/tests/test262/built-ins/Reflect/enumerate/undefined.js
new file mode 100644
index 0000000000..3769a357ad
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Reflect/enumerate/undefined.js
@@ -0,0 +1,13 @@
+// Copyright (C) 2016 the V8 project authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+/*---
+esid: sec-reflect-object
+description: >
+ Reflect.enumerate was removed and it's not a function anymore
+features: [Reflect]
+---*/
+
+assert.sameValue(Reflect.hasOwnProperty("enumerate"), false);
+assert.sameValue(Reflect.enumerate, undefined);
+
+reportCompare(0, 0);