tor-browser

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

proto.js (649B)


      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-properties-of-the-finalization-registry-constructor
      6 description: >
      7  The prototype of FinalizationRegistry is Object.prototype
      8 info: |
      9  The value of the [[Prototype]] internal slot of the FinalizationRegistry object is the
     10  intrinsic object %FunctionPrototype%.
     11 features: [FinalizationRegistry]
     12 ---*/
     13 
     14 assert.sameValue(
     15  Object.getPrototypeOf(FinalizationRegistry),
     16  Function.prototype,
     17  'Object.getPrototypeOf(FinalizationRegistry) returns the value of `Function.prototype`'
     18 );
     19 
     20 reportCompare(0, 0);