summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/staging/explicit-resource-management/Symbol/dispose/prop-desc.js
blob: 8f4330035c76baf74d0015773a3756f38082353d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// |reftest| skip -- explicit-resource-management is not supported
// Copyright (C) 2024 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: >
    `Symbol.dispose` property descriptor
info: |
    This property has the attributes { [[Writable]]: false, [[Enumerable]]:
    false, [[Configurable]]: false }.
includes: [propertyHelper.js]
features: [explicit-resource-management]
---*/

assert.sameValue(typeof Symbol.dispose, 'symbol');
verifyNotEnumerable(Symbol, 'dispose');
verifyNotWritable(Symbol, 'dispose');
verifyNotConfigurable(Symbol, 'dispose');

reportCompare(0, 0);