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 8 deletions
...@@ -11,7 +11,7 @@ info: | ...@@ -11,7 +11,7 @@ info: |
This property has the attributes { [[Writable]]: false, [[Enumerable]]: This property has the attributes { [[Writable]]: false, [[Enumerable]]:
false, [[Configurable]]: true }. false, [[Configurable]]: true }.
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Symbol.toStringTag] features: [Atomics, Symbol.toStringTag]
---*/ ---*/
assert.sameValue(Atomics[Symbol.toStringTag], 'Atomics'); assert.sameValue(Atomics[Symbol.toStringTag], 'Atomics');
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
esid: sec-atomics.add esid: sec-atomics.add
description: Testing descriptor property of Atomics.add description: Testing descriptor property of Atomics.add
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Atomics]
---*/ ---*/
verifyWritable(Atomics, "add"); verifyWritable(Atomics, "add");
......
...@@ -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.add.length, 3); assert.sameValue(Atomics.add.length, 3);
......
...@@ -7,6 +7,7 @@ esid: sec-atomics.add ...@@ -7,6 +7,7 @@ esid: sec-atomics.add
description: > description: >
Atomics.add.name is "add". Atomics.add.name is "add".
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Atomics]
---*/ ---*/
assert.sameValue(Atomics.add.name, "add"); assert.sameValue(Atomics.add.name, "add");
......
...@@ -6,7 +6,7 @@ esid: sec-atomics.add ...@@ -6,7 +6,7 @@ esid: sec-atomics.add
description: > description: >
Test Atomics.add on non-shared integer TypedArrays Test Atomics.add 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.add ...@@ -6,7 +6,7 @@ esid: sec-atomics.add
description: > description: >
Test Atomics.add on shared non-integer TypedArrays Test Atomics.add 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.and esid: sec-atomics.and
description: Testing descriptor property of Atomics.and description: Testing descriptor property of Atomics.and
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Atomics]
---*/ ---*/
verifyWritable(Atomics, "and"); verifyWritable(Atomics, "and");
......
...@@ -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.and.length, 3); assert.sameValue(Atomics.and.length, 3);
......
...@@ -7,6 +7,7 @@ esid: sec-atomics.and ...@@ -7,6 +7,7 @@ esid: sec-atomics.and
description: > description: >
Atomics.and.name is "and". Atomics.and.name is "and".
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Atomics]
---*/ ---*/
assert.sameValue(Atomics.and.name, "and"); assert.sameValue(Atomics.and.name, "and");
......
...@@ -6,7 +6,7 @@ esid: sec-atomics.and ...@@ -6,7 +6,7 @@ esid: sec-atomics.and
description: > description: >
Test Atomics.and on non-shared integer TypedArrays Test Atomics.and 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.and ...@@ -6,7 +6,7 @@ esid: sec-atomics.and
description: > description: >
Test Atomics.and on shared non-integer TypedArrays Test Atomics.and 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.compareexchange esid: sec-atomics.compareexchange
description: Testing descriptor property of Atomics.compareExchange description: Testing descriptor property of Atomics.compareExchange
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Atomics]
---*/ ---*/
verifyWritable(Atomics, "compareExchange"); verifyWritable(Atomics, "compareExchange");
......
...@@ -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.compareExchange.length, 4); assert.sameValue(Atomics.compareExchange.length, 4);
......
...@@ -7,6 +7,7 @@ esid: sec-atomics.compareexchange ...@@ -7,6 +7,7 @@ esid: sec-atomics.compareexchange
description: > description: >
Atomics.compareExchange.name is "compareExchange". Atomics.compareExchange.name is "compareExchange".
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Atomics]
---*/ ---*/
assert.sameValue(Atomics.compareExchange.name, "compareExchange"); assert.sameValue(Atomics.compareExchange.name, "compareExchange");
......
...@@ -6,7 +6,7 @@ esid: sec-atomics.compareexchange ...@@ -6,7 +6,7 @@ esid: sec-atomics.compareexchange
description: > description: >
Test Atomics.compareExchange on non-shared integer TypedArrays Test Atomics.compareExchange 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.compareexchange ...@@ -6,7 +6,7 @@ esid: sec-atomics.compareexchange
description: > description: >
Test Atomics.compareExchange on shared non-integer TypedArrays Test Atomics.compareExchange 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.exchange esid: sec-atomics.exchange
description: Testing descriptor property of Atomics.exchange description: Testing descriptor property of Atomics.exchange
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Atomics]
---*/ ---*/
verifyWritable(Atomics, "exchange"); verifyWritable(Atomics, "exchange");
......
...@@ -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.exchange.length, 3); assert.sameValue(Atomics.exchange.length, 3);
......
...@@ -7,6 +7,7 @@ esid: sec-atomics.exchange ...@@ -7,6 +7,7 @@ esid: sec-atomics.exchange
description: > description: >
Atomics.exchange.name is "exchange". Atomics.exchange.name is "exchange".
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Atomics]
---*/ ---*/
assert.sameValue(Atomics.exchange.name, "exchange"); assert.sameValue(Atomics.exchange.name, "exchange");
......
...@@ -6,7 +6,7 @@ esid: sec-atomics.exchange ...@@ -6,7 +6,7 @@ esid: sec-atomics.exchange
description: > description: >
Test Atomics.exchange on non-shared integer TypedArrays Test Atomics.exchange 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);
......
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