diff options
Diffstat (limited to 'js/src/tests/non262/TypedArray/sort_modifications_concurrent.js')
-rw-r--r-- | js/src/tests/non262/TypedArray/sort_modifications_concurrent.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/js/src/tests/non262/TypedArray/sort_modifications_concurrent.js b/js/src/tests/non262/TypedArray/sort_modifications_concurrent.js index 99493df800..60f58b0e0e 100644 --- a/js/src/tests/non262/TypedArray/sort_modifications_concurrent.js +++ b/js/src/tests/non262/TypedArray/sort_modifications_concurrent.js @@ -1,4 +1,4 @@ -// |reftest| skip-if(!xulRuntime.shell) +// |reftest| shell-option(--enable-float16array) skip-if(!xulRuntime.shell) if (helperThreadCount() === 0) { if (typeof reportCompare === "function") @@ -18,7 +18,7 @@ const TAConstructors = [ Float64Array, BigInt64Array, BigUint64Array, -]; +].concat(this.Float16Array ?? []); // Use different size classes to catch any implementation-specific // optimisations. @@ -46,6 +46,8 @@ function ToAtomicTA(TA) { return TA; case Uint8ClampedArray: return Uint8Array; + case globalThis.Float16Array: + return Uint16Array; case Float32Array: return Uint32Array; case Float64Array: |