Debian Codegraph @

js/src/tests/test262/built-ins/Atomics/pause/descriptor.js

raw
1 // |reftest| shell-option(--enable-atomics-pause) skip-if(!this.hasOwnProperty('Atomics')||!Atomics.pause||!xulRuntime.shell) -- Atomics.pause is not enabled unconditionally, requires shell-options
2 // Copyright 2024 the V8 project authors. All rights reserved.
3 // This code is governed by the license found in the LICENSE file.
4
5 /*---
6 esid: sec-atomics.pause
7 description: Testing descriptor property of Atomics.pause
8 includes: [propertyHelper.js]
9 features: [Atomics.pause]
10 ---*/
11
12 verifyProperty(Atomics, 'pause', {
13 enumerable: false,
14 writable: true,
15 configurable: true,
16 });
17
18 reportCompare(0, 0);