tor-browser

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

prop-desc.js (690B)


      1 // |reftest| skip-if(!Error.isError) -- Error.isError is not enabled unconditionally
      2 // Copyright (C) 2024 Jordan Harband. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 /*---
      6 esid: sec-error.iserror
      7 description: Property descriptor for Error.isError
      8 info: |
      9  Every other data property described in clauses 18 through 26 and in Annex B.2
     10  has the attributes { [[Writable]]: true, [[Enumerable]]: false,
     11  [[Configurable]]: true } unless otherwise specified.
     12 includes: [propertyHelper.js]
     13 features: [Error.isError]
     14 ---*/
     15 
     16 verifyProperty(Error, "isError", {
     17  writable: true,
     18  enumerable: false,
     19  configurable: true
     20 });
     21 
     22 reportCompare(0, 0);