tor-browser

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

prop-desc.js (678B)


      1 // Copyright (C) 2024 Igalia S.L. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: sec-json.rawjson
      6 description: >
      7  Property type and descriptor.
      8 info: |
      9  JSON.rawJSON ( text )
     10 
     11  18 ECMAScript Standard Built-in Objects
     12  ...
     13  Every other data property described in clauses 19 through 28 and in Annex B.2
     14  has the attributes { [[Writable]]: true, [[Enumerable]]: false,
     15  [[Configurable]]: true } unless otherwise specified.
     16 
     17 includes: [propertyHelper.js]
     18 features: [json-parse-with-source]
     19 ---*/
     20 
     21 verifyProperty(JSON, 'rawJSON', {
     22  enumerable: false,
     23  writable: true,
     24  configurable: true
     25 });
     26 
     27 reportCompare(0, 0);