tor-browser

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

prop-desc.js (904B)


      1 // |reftest| shell-option(--enable-explicit-resource-management) skip-if(!(this.hasOwnProperty('getBuildConfiguration')&&getBuildConfiguration('explicit-resource-management'))||!xulRuntime.shell) -- explicit-resource-management is not enabled unconditionally, requires shell-options
      2 // Copyright (C) 2015 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-symbol.asyncdispose
      6 description: >
      7    `Symbol.asyncDispose` property descriptor
      8 info: |
      9    This property has the attributes { [[Writable]]: false, [[Enumerable]]:
     10    false, [[Configurable]]: false }.
     11 includes: [propertyHelper.js]
     12 features: [explicit-resource-management]
     13 ---*/
     14 
     15 assert.sameValue(typeof Symbol.asyncDispose, 'symbol');
     16 verifyProperty(Symbol, 'asyncDispose', {
     17  writable: false,
     18  enumerable: false,
     19  configurable: false,
     20 });
     21 
     22 reportCompare(0, 0);