summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Symbol/name.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Symbol/name.js')
-rw-r--r--js/src/tests/test262/built-ins/Symbol/name.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Symbol/name.js b/js/src/tests/test262/built-ins/Symbol/name.js
new file mode 100644
index 0000000000..c639fc142d
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Symbol/name.js
@@ -0,0 +1,19 @@
+// Copyright (C) 2017 Aleksey Shvayka. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-symbol-constructor
+description: >
+ Symbol ( [ description ] )
+
+includes: [propertyHelper.js]
+features: [Symbol]
+---*/
+
+assert.sameValue(Symbol.name, "Symbol", "The value of `Symbol.name` is `'Symbol'`");
+
+verifyNotEnumerable(Symbol, "name");
+verifyNotWritable(Symbol, "name");
+verifyConfigurable(Symbol, "name");
+
+reportCompare(0, 0);