tor-browser

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

prop-desc.js (1197B)


      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.RelativeTimeFormat
      6 description: >
      7  "RelativeTimeFormat" property of Intl.
      8 info: |
      9  Intl.RelativeTimeFormat (...)
     10 
     11  7 Requirements for Standard Built-in ECMAScript Objects
     12 
     13    Unless specified otherwise in this document, the objects, functions, and constructors
     14    described in this standard are subject to the generic requirements and restrictions
     15    specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language
     16    Specification, 9th edition, clause 17, or successor.
     17 
     18  17 ECMAScript Standard Built-in Objects:
     19 
     20    Every other data property described in clauses 18 through 26 and in Annex B.2 has the
     21    attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true }
     22    unless otherwise specified.
     23 
     24 includes: [propertyHelper.js]
     25 features: [Intl.RelativeTimeFormat]
     26 ---*/
     27 
     28 assert.sameValue(typeof Intl.RelativeTimeFormat, "function");
     29 
     30 verifyProperty(Intl, "RelativeTimeFormat", {
     31  value: Intl.RelativeTimeFormat,
     32  writable: true,
     33  enumerable: false,
     34  configurable: true,
     35 });
     36 
     37 reportCompare(0, 0);