tor-browser

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

name.js (1144B)


      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-finalization-registry-target
      6 description: FinalizationRegistry.name property descriptor
      7 info: |
      8  FinalizationRegistry ( value )
      9 
     10  17 ECMAScript Standard Built-in Objects
     11 
     12  Every built-in function object, including constructors, that is not
     13  identified as an anonymous function has a name property whose value
     14  is a String. Unless otherwise specified, this value is the name that
     15  is given to the function in this specification. For functions that
     16  are specified as properties of objects, the name value is the
     17  property name string used to access the function. [...]
     18 
     19  Unless otherwise specified, the name property of a built-in function
     20  object, if it exists, has the attributes { [[Writable]]: false,
     21  [[Enumerable]]: false, [[Configurable]]: true }.
     22 includes: [propertyHelper.js]
     23 features: [FinalizationRegistry]
     24 ---*/
     25 
     26 verifyProperty(FinalizationRegistry, 'name', {
     27  value: 'FinalizationRegistry',
     28  writable: false,
     29  enumerable: false,
     30  configurable: true
     31 });
     32 
     33 reportCompare(0, 0);