tor-browser

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

extensible.js (674B)


      1 // |reftest| skip-if(!this.hasOwnProperty('Temporal')) -- Temporal is not enabled unconditionally
      2 // Copyright (C) 2021 the V8 project authors. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 /*---
      6 esid: sec-temporal.now.timezoneid
      7 description: Temporal.Now.timeZoneId is extensible.
      8 info: |
      9  ## 17 ECMAScript Standard Built-in Objects
     10 
     11  Unless specified otherwise, the [[Extensible]] internal slot
     12  of a built-in object initially has the value true.
     13 features: [Temporal]
     14 ---*/
     15 
     16 assert(
     17  Object.isExtensible(Temporal.Now.timeZoneId),
     18  'Object.isExtensible(Temporal.Now.timeZoneId) must return true'
     19 );
     20 
     21 reportCompare(0, 0);