tor-browser

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

prop-desc.js (727B)


      1 // Copyright (C) 2017 Rick Waldron. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: sec-arraybuffer-constructor
      6 description: >
      7  Property descriptor of ArrayBuffer
      8 info: |
      9  17 ECMAScript Standard Built-in Objects:
     10 
     11  Every other data property described in clauses 18 through 26 and in Annex B.2
     12  has the attributes { [[Writable]]: true, [[Enumerable]]: false,
     13  [[Configurable]]: true } unless otherwise specified.
     14 includes: [propertyHelper.js]
     15 ---*/
     16 
     17 assert.sameValue(typeof ArrayBuffer, "function", "`typeof ArrayBuffer` is `'function'`");
     18 
     19 verifyProperty(this, "ArrayBuffer", {
     20  writable: true,
     21  enumerable: false,
     22  configurable: true,
     23 });
     24 
     25 reportCompare(0, 0);