Skip to content

Commit 4a1e962

Browse files
authored
Add missing features (#5019)
1 parent 1775ee4 commit 4a1e962

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

test/staging/sm/Atomics/cross-compartment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
description: |
66
pending
77
esid: pending
8+
features: [Atomics, SharedArrayBuffer]
89
---*/
910

1011
const otherGlobal = $262.createRealm().global;
@@ -111,4 +112,3 @@ for (let TA of intArrayConstructors) {
111112
assert.sameValue(val, 3);
112113
assert.sameValue(ta[0], 2);
113114
}
114-

test/staging/sm/Atomics/detached-buffers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ includes: [detachArrayBuffer.js]
66
description: |
77
pending
88
esid: pending
9+
features: [Atomics]
910
---*/
1011

1112
const intArrayConstructors = [
@@ -97,4 +98,3 @@ for (let TA of intArrayConstructors) {
9798
assert.throws(TypeError, () => Atomics.xor(ta, badValue(ta), 0));
9899
assert.throws(TypeError, () => Atomics.xor(ta, 0, badValue(ta)));
99100
}
100-

test/staging/sm/TypedArray/sort-negative-nan.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ includes: [sm/non262-TypedArray-shell.js]
66
description: |
77
pending
88
esid: pending
9+
features: [Float16Array, Float32Array, Float64Array]
910
---*/
1011
// Test with all floating point typed arrays.
1112
const floatConstructors = anyTypedArrayConstructors.filter(isFloatConstructor);
@@ -136,4 +137,3 @@ for (const [TA, taLength] of prod(floatConstructors, typedArrayLengths)) {
136137
assert.sameValue(fta[nanOffset + i], NaN, `At offset: ${nanOffset + i}`);
137138
}
138139
}
139-

test/staging/sm/TypedArray/toString.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ includes: [sm/non262-TypedArray-shell.js, propertyHelper.js]
66
description: |
77
pending
88
esid: pending
9+
features: [Float16Array]
910
---*/
1011
const TypedArrayPrototype = Object.getPrototypeOf(Int8Array.prototype);
1112

0 commit comments

Comments
 (0)