tor-browser

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

name.js (653B)


      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 esid: sec-temporal.now.instant
      6 description: Temporal.Now.instant.name is "instant".
      7 includes: [propertyHelper.js]
      8 features: [Temporal]
      9 ---*/
     10 
     11 assert.sameValue(
     12  Temporal.Now.instant.name,
     13  'instant',
     14  'The value of Temporal.Now.instant.name is expected to be "instant"'
     15 );
     16 
     17 verifyProperty(Temporal.Now.instant, 'name', {
     18  enumerable: false,
     19  writable: false,
     20  configurable: true
     21 });
     22 
     23 reportCompare(0, 0);