summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/Segmenter/prototype/Symbol.toStringTag.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/intl402/Segmenter/prototype/Symbol.toStringTag.js')
-rw-r--r--js/src/tests/test262/intl402/Segmenter/prototype/Symbol.toStringTag.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/js/src/tests/test262/intl402/Segmenter/prototype/Symbol.toStringTag.js b/js/src/tests/test262/intl402/Segmenter/prototype/Symbol.toStringTag.js
new file mode 100644
index 0000000000..2960428e22
--- /dev/null
+++ b/js/src/tests/test262/intl402/Segmenter/prototype/Symbol.toStringTag.js
@@ -0,0 +1,23 @@
+// |reftest| skip-if(!Intl.Segmenter) -- Intl.Segmenter is not enabled unconditionally
+// Copyright 2019 Leo Balter. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-intl.segmenter.prototype-@@tostringtag
+description: >
+ Property descriptor of Segmenter.prototype[@@toStringTag]
+info: |
+ The initial value of the @@toStringTag property is the string value "Intl.Segmenter".
+ This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
+includes: [propertyHelper.js]
+features: [Intl.Segmenter, Symbol.toStringTag]
+---*/
+
+verifyProperty(Intl.Segmenter.prototype, Symbol.toStringTag, {
+ value: "Intl.Segmenter",
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
+
+reportCompare(0, 0);