tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

extensibility.js (576B)


      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: Intl.Segmenter instance object extensibility
      7 info: |
      8    17 ECMAScript Standard Built-in Objects:
      9 
     10    Unless specified otherwise, the [[Extensible]] internal slot
     11    of a built-in object initially has the value true.
     12 features: [Intl.Segmenter]
     13 ---*/
     14 
     15 assert.sameValue(
     16  Object.isExtensible(new Intl.Segmenter()),
     17  true,
     18  "Object.isExtensible(new Intl.Segmenter()) returns true"
     19 );
     20 
     21 reportCompare(0, 0);