summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/TypedArray/sort_modifications_concurrent.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /js/src/tests/non262/TypedArray/sort_modifications_concurrent.js
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/tests/non262/TypedArray/sort_modifications_concurrent.js')
-rw-r--r--js/src/tests/non262/TypedArray/sort_modifications_concurrent.js6
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: