mirror of
https://github.com/tc39/test262.git
synced 2025-07-27 16:04:36 +02:00
Atomics.wait: fix esid
This commit is contained in:
parent
bb37b8812f
commit
4e48a5692c
@ -2,7 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-atomics.notify
|
esid: sec-atomics.wait
|
||||||
description: >
|
description: >
|
||||||
TypedArray type is validated before `index` argument is coerced.
|
TypedArray type is validated before `index` argument is coerced.
|
||||||
info: |
|
info: |
|
||||||
|
10
test/built-ins/Atomics/waitAsync/is-function.js
Normal file
10
test/built-ins/Atomics/waitAsync/is-function.js
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
// Copyright (C) 2020 Rick Waldron. All rights reserved.
|
||||||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
|
/*---
|
||||||
|
esid: sec-atomics.waitasync
|
||||||
|
description: Atomics.waitAsync is callable
|
||||||
|
features: [Atomics.waitAsync]
|
||||||
|
---*/
|
||||||
|
|
||||||
|
assert.sameValue(typeof Atomics.waitAsync, 'function');
|
@ -2,7 +2,7 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-atomics.waitAsync
|
esid: sec-atomics.waitasync
|
||||||
description: >
|
description: >
|
||||||
Atomics.waitAsync.length is 4.
|
Atomics.waitAsync.length is 4.
|
||||||
info: |
|
info: |
|
||||||
@ -20,7 +20,7 @@ info: |
|
|||||||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||||
[[Configurable]]: true }.
|
[[Configurable]]: true }.
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
features: [Atomics]
|
features: [Atomics.waitAsync,Atomics]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
verifyProperty(Atomics.waitAsync, 'length', {
|
verifyProperty(Atomics.waitAsync, 'length', {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user