tor-browser

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

name.js (996B)


      1 // |reftest| skip-if(!this.hasOwnProperty('Temporal')) -- Temporal is not enabled unconditionally
      2 // Copyright (C) 2020 Igalia, S.L. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 /*---
      6 esid: sec-temporal.duration.from
      7 description: Temporal.Duration.from.name is "from"
      8 info: |
      9    Every built-in function object, including constructors, that is not identified as an anonymous
     10    function has a "name" property whose value is a String. Unless otherwise specified, this value
     11    is the name that is given to the function in this specification.
     12 
     13    Unless otherwise specified, the "name" property of a built-in function object, if it exists,
     14    has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
     15 includes: [propertyHelper.js]
     16 features: [Temporal]
     17 ---*/
     18 
     19 verifyProperty(Temporal.Duration.from, "name", {
     20  value: "from",
     21  writable: false,
     22  enumerable: false,
     23  configurable: true,
     24 });
     25 
     26 reportCompare(0, 0);