Atomics.wait: fix esid

This commit is contained in:
Rick Waldron 2020-03-18 16:40:00 -04:00
parent bb37b8812f
commit 4e48a5692c
3 changed files with 13 additions and 3 deletions

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-atomics.notify
esid: sec-atomics.wait
description: >
TypedArray type is validated before `index` argument is coerced.
info: |

View 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');

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-atomics.waitAsync
esid: sec-atomics.waitasync
description: >
Atomics.waitAsync.length is 4.
info: |
@ -20,7 +20,7 @@ info: |
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
features: [Atomics]
features: [Atomics.waitAsync,Atomics]
---*/
verifyProperty(Atomics.waitAsync, 'length', {