tor-browser

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

symbol-species-name.js (690B)


      1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 /*---
      4 esid: sec-get-arraybuffer-@@species
      5 description: >
      6  ArrayBuffer[Symbol.species] accessor property get name
      7 info: |
      8  24.1.3.3 get ArrayBuffer [ @@species ]
      9 
     10  ...
     11  The value of the name property of this function is "get [Symbol.species]".
     12 features: [Symbol.species]
     13 includes: [propertyHelper.js]
     14 ---*/
     15 
     16 var descriptor = Object.getOwnPropertyDescriptor(ArrayBuffer, Symbol.species);
     17 
     18 verifyProperty(descriptor.get, "name", {
     19  value: "get [Symbol.species]",
     20  writable: false,
     21  enumerable: false,
     22  configurable: true
     23 });
     24 
     25 reportCompare(0, 0);