Debian Codegraph @

js/src/tests/test262/built-ins/NativeErrors/SuppressedError/prop-desc.js

raw
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) 2023 Ron Buckton. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 esid: sec-suppressederror-objects
7 description: >
8 Property descriptor of SuppressedError
9 info: |
10 SuppressedError Objects
11
12 ECMAScript Standard Built-in Objects:
13
14 Every other data property described in clauses 18 through 26 and in Annex B.2
15 has the attributes { [[Writable]]: true, [[Enumerable]]: false,
16 [[Configurable]]: true } unless otherwise specified.
17 includes: [propertyHelper.js]
18 features: [explicit-resource-management]
19 ---*/
20
21 assert.sameValue(typeof SuppressedError, 'function');
22
23 verifyProperty(this, 'SuppressedError', {
24 enumerable: false,
25 writable: true,
26 configurable: true
27 });
28
29 reportCompare(0, 0);