prop-desc.js (1118B)
1 // Copyright 2018 Igalia, S.L. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 esid: sec-Intl.Segmenter 6 description: Verifies the "Segmenter" property of Intl. 7 info: | 8 Requirements for Standard Built-in ECMAScript Objects 9 10 Unless specified otherwise in this document, the objects, functions, and constructors 11 described in this standard are subject to the generic requirements and restrictions 12 specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language 13 Specification, 9th edition, clause 17, or successor. 14 15 ECMAScript Standard Built-in Objects: 16 17 Every other data property described in clauses 18 through 26 and in Annex B.2 has the 18 attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } 19 unless otherwise specified. 20 21 includes: [propertyHelper.js] 22 features: [Intl.Segmenter] 23 ---*/ 24 25 assert.sameValue(typeof Intl.Segmenter, "function"); 26 27 verifyProperty(Intl, "Segmenter", { 28 value: Intl.Segmenter, 29 writable: true, 30 enumerable: false, 31 configurable: true, 32 }); 33 34 reportCompare(0, 0);