summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/TypedArray/prototype/toSorted')
-rw-r--r--js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/comparefn-not-a-function.js1
-rw-r--r--js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/comparefn-stop-after-error.js1
-rw-r--r--js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/ignores-species.js1
-rw-r--r--js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/immutable.js1
-rw-r--r--js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/length-property-ignored.js1
-rw-r--r--js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/metadata/length.js1
-rw-r--r--js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/metadata/name.js1
-rw-r--r--js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/metadata/property-descriptor.js1
-rw-r--r--js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/not-a-constructor.js3
-rw-r--r--js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/this-value-invalid.js1
10 files changed, 11 insertions, 1 deletions
diff --git a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/comparefn-not-a-function.js b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/comparefn-not-a-function.js
index 1ff4bbfe9c..836a621e4a 100644
--- a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/comparefn-not-a-function.js
+++ b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/comparefn-not-a-function.js
@@ -1,3 +1,4 @@
+// |reftest| shell-option(--enable-float16array)
// Copyright (C) 2021 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
diff --git a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/comparefn-stop-after-error.js b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/comparefn-stop-after-error.js
index 61894ca9fe..32a6636ca3 100644
--- a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/comparefn-stop-after-error.js
+++ b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/comparefn-stop-after-error.js
@@ -1,3 +1,4 @@
+// |reftest| shell-option(--enable-float16array)
// Copyright (C) 2021 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
diff --git a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/ignores-species.js b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/ignores-species.js
index bdd4fa92e8..d46211ef26 100644
--- a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/ignores-species.js
+++ b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/ignores-species.js
@@ -1,3 +1,4 @@
+// |reftest| shell-option(--enable-float16array)
// Copyright (C) 2021 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
diff --git a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/immutable.js b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/immutable.js
index 7fb76e65f5..560ce2f6f1 100644
--- a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/immutable.js
+++ b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/immutable.js
@@ -1,3 +1,4 @@
+// |reftest| shell-option(--enable-float16array)
// Copyright (C) 2021 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
diff --git a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/length-property-ignored.js b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/length-property-ignored.js
index 977e74b9c5..2bf10fd5a8 100644
--- a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/length-property-ignored.js
+++ b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/length-property-ignored.js
@@ -1,3 +1,4 @@
+// |reftest| shell-option(--enable-float16array)
// Copyright (C) 2021 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
diff --git a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/metadata/length.js b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/metadata/length.js
index 20e9f3d35b..aa5b3370ee 100644
--- a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/metadata/length.js
+++ b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/metadata/length.js
@@ -1,3 +1,4 @@
+// |reftest| shell-option(--enable-float16array)
// Copyright (C) 2021 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
diff --git a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/metadata/name.js b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/metadata/name.js
index 644f27593f..b0f701e4c5 100644
--- a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/metadata/name.js
+++ b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/metadata/name.js
@@ -1,3 +1,4 @@
+// |reftest| shell-option(--enable-float16array)
// Copyright (C) 2021 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
diff --git a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/metadata/property-descriptor.js b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/metadata/property-descriptor.js
index 54588af0d5..c9b3ce78f2 100644
--- a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/metadata/property-descriptor.js
+++ b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/metadata/property-descriptor.js
@@ -1,3 +1,4 @@
+// |reftest| shell-option(--enable-float16array)
// Copyright (C) 2021 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
diff --git a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/not-a-constructor.js b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/not-a-constructor.js
index be40246fa1..a8ae472d34 100644
--- a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/not-a-constructor.js
@@ -1,3 +1,4 @@
+// |reftest| shell-option(--enable-float16array)
// Copyright (C) 2021 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
@@ -29,7 +30,7 @@ assert.sameValue(
assert.throws(TypeError, () => {
new TypedArray.prototype.toSorted();
-}, '`new TypedArray.prototype.toSorted()` throws TypeError');
+});
reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/this-value-invalid.js b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/this-value-invalid.js
index 47cdf3627a..78e4ef4558 100644
--- a/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/this-value-invalid.js
+++ b/js/src/tests/test262/built-ins/TypedArray/prototype/toSorted/this-value-invalid.js
@@ -1,3 +1,4 @@
+// |reftest| shell-option(--enable-float16array)
// Copyright (C) 2021 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.