tor-browser

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

prop-desc.js (768B)


      1 // Copyright (C) 2019 Leo Balter. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: sec-Intl.DisplayNames
      6 description: >
      7  Property descriptor of Intl.DisplayNames
      8 info: |
      9  17 ECMAScript Standard Built-in Objects:
     10 
     11  Every other data property described in clauses 18 through 26 and in Annex B.2
     12  has the attributes { [[Writable]]: true, [[Enumerable]]: false,
     13  [[Configurable]]: true } unless otherwise specified.
     14 includes: [propertyHelper.js]
     15 features: [Intl.DisplayNames]
     16 ---*/
     17 
     18 assert.sameValue(typeof Intl.DisplayNames, "function", "`typeof Intl.DisplayNames` is `'function'`");
     19 
     20 verifyProperty(Intl, "DisplayNames", {
     21  writable: true,
     22  enumerable: false,
     23  configurable: true,
     24 });
     25 
     26 reportCompare(0, 0);