tor-browser

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

name.js (919B)


      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-promise.allsettled
      6 description: Promise.allSettled `name` property
      7 info: |
      8  ES Section 17:
      9 
     10  Every built-in Function object, including constructors, that is not
     11  identified as an anonymous function has a name property whose value is a
     12  String. Unless otherwise specified, this value is the name that is given to
     13  the function in this specification.
     14 
     15  [...]
     16 
     17  Unless otherwise specified, the name property of a built-in Function
     18  object, if it exists, has the attributes { [[Writable]]: false,
     19  [[Enumerable]]: false, [[Configurable]]: true }.
     20 includes: [propertyHelper.js]
     21 features: [Promise.allSettled]
     22 ---*/
     23 
     24 verifyProperty(Promise.allSettled, 'name', {
     25  configurable: true,
     26  writable: false,
     27  enumerable: false,
     28  value: 'allSettled',
     29 });
     30 
     31 reportCompare(0, 0);