Debian Codegraph @

js/src/tests/test262/built-ins/Atomics/pause/name.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 BSD license found in the LICENSE file.
4
5 /*---
6 esid: sec-atomics.pause
7 description: Atomics.pause.name is "pause".
8 includes: [propertyHelper.js]
9 features: [Atomics.pause]
10 ---*/
11
12 verifyProperty(Atomics.pause, 'name', {
13 value: 'pause',
14 enumerable: false,
15 writable: false,
16 configurable: true,
17 });
18
19 reportCompare(0, 0);