descriptor.js (824B)
1 // |reftest| shell-option(--setpref=atomics_wait_async) skip-if(!this.hasOwnProperty('Atomics')||!xulRuntime.shell) -- Atomics is not enabled unconditionally, requires shell-options 2 // Copyright (C) 2020 Rick Waldron. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 5 /*--- 6 esid: sec-atomics.waitasync 7 description: Atomics.waitAsync property descriptor 8 info: | 9 ES Section 17 10 11 Every other data property described in clauses 18 through 26 and in Annex 12 B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false, 13 [[Configurable]]: true } unless otherwise specified. 14 includes: [propertyHelper.js] 15 features: [Atomics.waitAsync, Atomics] 16 ---*/ 17 18 verifyProperty(Atomics, 'waitAsync', { 19 configurable: true, 20 writable: true, 21 enumerable: false, 22 }); 23 24 reportCompare(0, 0);