Skip to content
Snippets Groups Projects
Unverified Commit 478f5b4c authored by Leo Balter's avatar Leo Balter Committed by GitHub
Browse files

Add features tags for Atomics and SharedArrayBuffer (#1494)

* Add features tags for Atomics

* Add features tags for SharedArrayBuffer
parent 431e6cb2
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 6 deletions
...@@ -7,6 +7,7 @@ esid: sec-atomics.store ...@@ -7,6 +7,7 @@ esid: sec-atomics.store
description: > description: >
Atomics.store.name is "store". Atomics.store.name is "store".
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Atomics]
---*/ ---*/
assert.sameValue(Atomics.store.name, "store"); assert.sameValue(Atomics.store.name, "store");
......
...@@ -6,7 +6,7 @@ esid: sec-atomics.store ...@@ -6,7 +6,7 @@ esid: sec-atomics.store
description: > description: >
Test Atomics.store on non-shared integer TypedArrays Test Atomics.store on non-shared integer TypedArrays
includes: [testTypedArray.js] includes: [testTypedArray.js]
features: [TypedArray] features: [Atomics, TypedArray]
---*/ ---*/
var ab = new ArrayBuffer(16); var ab = new ArrayBuffer(16);
......
...@@ -6,7 +6,7 @@ esid: sec-atomics.store ...@@ -6,7 +6,7 @@ esid: sec-atomics.store
description: > description: >
Test Atomics.store on shared non-integer TypedArrays Test Atomics.store on shared non-integer TypedArrays
includes: [testTypedArray.js] includes: [testTypedArray.js]
features: [TypedArray] features: [Atomics, TypedArray]
---*/ ---*/
var sab = new SharedArrayBuffer(1024); var sab = new SharedArrayBuffer(1024);
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
esid: sec-atomics.sub esid: sec-atomics.sub
description: Testing descriptor property of Atomics.sub description: Testing descriptor property of Atomics.sub
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Atomics]
---*/ ---*/
verifyWritable(Atomics, "sub"); verifyWritable(Atomics, "sub");
......
...@@ -21,6 +21,7 @@ info: | ...@@ -21,6 +21,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]
---*/ ---*/
assert.sameValue(Atomics.sub.length, 3); assert.sameValue(Atomics.sub.length, 3);
......
...@@ -7,6 +7,7 @@ esid: sec-atomics.sub ...@@ -7,6 +7,7 @@ esid: sec-atomics.sub
description: > description: >
Atomics.sub.name is "sub". Atomics.sub.name is "sub".
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Atomics]
---*/ ---*/
assert.sameValue(Atomics.sub.name, "sub"); assert.sameValue(Atomics.sub.name, "sub");
......
...@@ -6,7 +6,7 @@ esid: sec-atomics.sub ...@@ -6,7 +6,7 @@ esid: sec-atomics.sub
description: > description: >
Test Atomics.sub on non-shared integer TypedArrays Test Atomics.sub on non-shared integer TypedArrays
includes: [testTypedArray.js] includes: [testTypedArray.js]
features: [TypedArray] features: [Atomics, TypedArray]
---*/ ---*/
var ab = new ArrayBuffer(16); var ab = new ArrayBuffer(16);
......
...@@ -6,7 +6,7 @@ esid: sec-atomics.sub ...@@ -6,7 +6,7 @@ esid: sec-atomics.sub
description: > description: >
Test Atomics.sub on shared non-integer TypedArrays Test Atomics.sub on shared non-integer TypedArrays
includes: [testTypedArray.js] includes: [testTypedArray.js]
features: [TypedArray] features: [Atomics, TypedArray]
---*/ ---*/
var sab = new SharedArrayBuffer(1024); var sab = new SharedArrayBuffer(1024);
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
esid: sec-atomics.wait esid: sec-atomics.wait
description: Testing descriptor property of Atomics.wait description: Testing descriptor property of Atomics.wait
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Atomics]
---*/ ---*/
verifyWritable(Atomics, "wait"); verifyWritable(Atomics, "wait");
......
...@@ -7,6 +7,7 @@ description: > ...@@ -7,6 +7,7 @@ description: >
Test that Atomics.wait returns the right result when it timed out and that Test that Atomics.wait returns the right result when it timed out and that
the time to time out is reasonable. the time to time out is reasonable.
includes: [atomicsHelper.js] includes: [atomicsHelper.js]
features: [Atomics]
---*/ ---*/
$262.agent.start( $262.agent.start(
......
...@@ -6,6 +6,7 @@ esid: sec-atomics.wait ...@@ -6,6 +6,7 @@ esid: sec-atomics.wait
description: > description: >
Test Atomics.wait on arrays that allow atomic operations, Test Atomics.wait on arrays that allow atomic operations,
in an Agent that is allowed to wait. in an Agent that is allowed to wait.
features: [Atomics]
---*/ ---*/
// Let's assume 'wait' is not allowed on the main thread, // Let's assume 'wait' is not allowed on the main thread,
......
...@@ -21,6 +21,7 @@ info: | ...@@ -21,6 +21,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]
---*/ ---*/
assert.sameValue(Atomics.wait.length, 4); assert.sameValue(Atomics.wait.length, 4);
......
...@@ -7,6 +7,7 @@ esid: sec-atomics.wait ...@@ -7,6 +7,7 @@ esid: sec-atomics.wait
description: > description: >
Atomics.wait.name is "wait". Atomics.wait.name is "wait".
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Atomics]
---*/ ---*/
assert.sameValue(Atomics.wait.name, "wait"); assert.sameValue(Atomics.wait.name, "wait");
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
esid: sec-atomics.wait esid: sec-atomics.wait
description: > description: >
Test that Atomics.wait times out with a negative timeout Test that Atomics.wait times out with a negative timeout
features: [Atomics]
---*/ ---*/
$262.agent.start( $262.agent.start(
......
...@@ -7,6 +7,7 @@ description: > ...@@ -7,6 +7,7 @@ description: >
Test that Atomics.wait actually waits and does not spuriously wake Test that Atomics.wait actually waits and does not spuriously wake
up when the memory value is changed. up when the memory value is changed.
includes: [atomicsHelper.js] includes: [atomicsHelper.js]
features: [Atomics]
---*/ ---*/
$262.agent.start( $262.agent.start(
......
...@@ -6,7 +6,7 @@ esid: sec-atomics.wait ...@@ -6,7 +6,7 @@ esid: sec-atomics.wait
description: > description: >
Test Atomics.wait on non-shared integer TypedArrays Test Atomics.wait on non-shared integer TypedArrays
includes: [testTypedArray.js] includes: [testTypedArray.js]
features: [TypedArray] features: [Atomics, TypedArray]
---*/ ---*/
var ab = new ArrayBuffer(16); var ab = new ArrayBuffer(16);
......
...@@ -6,7 +6,7 @@ esid: sec-atomics.wait ...@@ -6,7 +6,7 @@ esid: sec-atomics.wait
description: > description: >
Test Atomics.wait on shared non-integer TypedArrays Test Atomics.wait on shared non-integer TypedArrays
includes: [testTypedArray.js] includes: [testTypedArray.js]
features: [TypedArray] features: [Atomics, TypedArray]
---*/ ---*/
var sab = new SharedArrayBuffer(1024); var sab = new SharedArrayBuffer(1024);
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
esid: sec-atomics.wait esid: sec-atomics.wait
description: > description: >
Test that Atomics.wait returns the right result when it was awoken. Test that Atomics.wait returns the right result when it was awoken.
features: [Atomics]
---*/ ---*/
$262.agent.start( $262.agent.start(
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
esid: sec-atomics.wake esid: sec-atomics.wake
description: > description: >
Allowed boundary cases of the third 'count' argument to Atomics.wake Allowed boundary cases of the third 'count' argument to Atomics.wake
features: [Atomics]
---*/ ---*/
var sab = new SharedArrayBuffer(4); var sab = new SharedArrayBuffer(4);
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
esid: sec-atomics.wake esid: sec-atomics.wake
description: Testing descriptor property of Atomics.wake description: Testing descriptor property of Atomics.wake
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Atomics]
---*/ ---*/
verifyWritable(Atomics, "wake"); verifyWritable(Atomics, "wake");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment