From ad5c784197722ab022703f154fa4b1b359c3680b Mon Sep 17 00:00:00 2001 From: Dan Minor Date: Wed, 13 Jul 2022 16:39:31 +0000 Subject: [PATCH] Bug 1775026 - Update tests; r=yulia Differential Revision: https://phabricator.services.mozilla.com/D150634 --- js/src/tests/non262/Array/findLast_findLastIndex.js | 2 -- js/src/tests/non262/Array/unscopables.js | 6 ++---- .../tests/non262/TypedArray/findLast-and-findLastIndex.js | 1 - js/src/tests/test262-update.py | 1 - .../prototype/Symbol.unscopables/array-find-from-last.js | 1 - .../Array/prototype/findLast/array-altered-during-loop.js | 1 - .../built-ins/Array/prototype/findLast/call-with-boolean.js | 1 - .../test262/built-ins/Array/prototype/findLast/length.js | 1 - .../test262/built-ins/Array/prototype/findLast/name.js | 1 - .../built-ins/Array/prototype/findLast/not-a-constructor.js | 1 - .../Array/prototype/findLast/predicate-call-parameters.js | 1 - .../prototype/findLast/predicate-call-this-non-strict.js | 1 - .../prototype/findLast/predicate-call-this-strict-strict.js | 1 - .../findLast/predicate-called-for-each-array-property.js | 1 - .../prototype/findLast/predicate-is-not-callable-throws.js | 1 - .../findLast/predicate-not-called-on-empty-array.js | 1 - .../test262/built-ins/Array/prototype/findLast/prop-desc.js | 1 - .../prototype/findLast/return-abrupt-from-predicate-call.js | 1 - .../Array/prototype/findLast/return-abrupt-from-property.js | 1 - .../findLast/return-abrupt-from-this-length-as-symbol.js | 1 - .../prototype/findLast/return-abrupt-from-this-length.js | 1 - .../Array/prototype/findLast/return-abrupt-from-this.js | 1 - .../findLast/return-found-value-predicate-result-is-true.js | 1 - .../return-undefined-if-predicate-returns-false-value.js | 1 - .../prototype/findLastIndex/array-altered-during-loop.js | 1 - .../Array/prototype/findLastIndex/call-with-boolean.js | 1 - .../built-ins/Array/prototype/findLastIndex/length.js | 1 - .../test262/built-ins/Array/prototype/findLastIndex/name.js | 1 - .../Array/prototype/findLastIndex/not-a-constructor.js | 1 - .../prototype/findLastIndex/predicate-call-parameters.js | 1 - .../findLastIndex/predicate-call-this-non-strict.js | 1 - .../findLastIndex/predicate-call-this-strict-strict.js | 1 - .../predicate-called-for-each-array-property.js | 1 - .../findLastIndex/predicate-is-not-callable-throws.js | 1 - .../findLastIndex/predicate-not-called-on-empty-array.js | 1 - .../built-ins/Array/prototype/findLastIndex/prop-desc.js | 1 - .../findLastIndex/return-abrupt-from-predicate-call.js | 1 - .../prototype/findLastIndex/return-abrupt-from-property.js | 1 - .../return-abrupt-from-this-length-as-symbol.js | 1 - .../findLastIndex/return-abrupt-from-this-length.js | 1 - .../prototype/findLastIndex/return-abrupt-from-this.js | 1 - .../findLastIndex/return-index-predicate-result-is-true.js | 1 - .../return-negative-one-if-predicate-returns-false-value.js | 1 - .../TypedArray/prototype/findLast/BigInt/detached-buffer.js | 1 - .../findLast/BigInt/get-length-ignores-length-prop.js | 1 - .../findLast/BigInt/predicate-call-changes-value.js | 1 - .../prototype/findLast/BigInt/predicate-call-parameters.js | 1 - .../findLast/BigInt/predicate-call-this-non-strict.js | 1 - .../findLast/BigInt/predicate-call-this-strict-strict.js | 1 - .../findLast/BigInt/predicate-is-not-callable-throws.js | 1 - .../findLast/BigInt/predicate-may-detach-buffer.js | 1 - .../findLast/BigInt/predicate-not-called-on-empty-array.js | 1 - .../findLast/BigInt/return-abrupt-from-predicate-call.js | 1 - .../BigInt/return-found-value-predicate-result-is-true.js | 1 - .../return-undefined-if-predicate-returns-false-value.js | 1 - .../TypedArray/prototype/findLast/detached-buffer.js | 1 - .../prototype/findLast/get-length-ignores-length-prop.js | 1 - .../TypedArray/prototype/findLast/invoked-as-func.js | 1 - .../TypedArray/prototype/findLast/invoked-as-method.js | 1 - .../built-ins/TypedArray/prototype/findLast/length.js | 1 - .../test262/built-ins/TypedArray/prototype/findLast/name.js | 1 - .../TypedArray/prototype/findLast/not-a-constructor.js | 1 - .../prototype/findLast/predicate-call-changes-value.js | 1 - .../prototype/findLast/predicate-call-parameters.js | 1 - .../prototype/findLast/predicate-call-this-non-strict.js | 1 - .../prototype/findLast/predicate-call-this-strict-strict.js | 1 - .../prototype/findLast/predicate-is-not-callable-throws.js | 1 - .../prototype/findLast/predicate-may-detach-buffer.js | 1 - .../findLast/predicate-not-called-on-empty-array.js | 1 - .../built-ins/TypedArray/prototype/findLast/prop-desc.js | 1 - .../prototype/findLast/return-abrupt-from-predicate-call.js | 1 - .../findLast/return-found-value-predicate-result-is-true.js | 1 - .../return-undefined-if-predicate-returns-false-value.js | 1 - .../TypedArray/prototype/findLast/this-is-not-object.js | 1 - .../prototype/findLast/this-is-not-typedarray-instance.js | 1 - .../prototype/findLastIndex/BigInt/detached-buffer.js | 1 - .../findLastIndex/BigInt/get-length-ignores-length-prop.js | 1 - .../findLastIndex/BigInt/predicate-call-changes-value.js | 1 - .../findLastIndex/BigInt/predicate-call-parameters.js | 1 - .../findLastIndex/BigInt/predicate-call-this-non-strict.js | 1 - .../BigInt/predicate-call-this-strict-strict.js | 1 - .../BigInt/predicate-is-not-callable-throws.js | 1 - .../findLastIndex/BigInt/predicate-may-detach-buffer.js | 1 - .../BigInt/predicate-not-called-on-empty-array.js | 1 - .../BigInt/return-abrupt-from-predicate-call.js | 1 - .../BigInt/return-index-predicate-result-is-true.js | 1 - .../return-negative-one-if-predicate-returns-false-value.js | 1 - .../TypedArray/prototype/findLastIndex/detached-buffer.js | 1 - .../findLastIndex/get-length-ignores-length-prop.js | 1 - .../TypedArray/prototype/findLastIndex/invoked-as-func.js | 1 - .../TypedArray/prototype/findLastIndex/invoked-as-method.js | 1 - .../built-ins/TypedArray/prototype/findLastIndex/length.js | 1 - .../built-ins/TypedArray/prototype/findLastIndex/name.js | 1 - .../TypedArray/prototype/findLastIndex/not-a-constructor.js | 1 - .../prototype/findLastIndex/predicate-call-changes-value.js | 1 - .../prototype/findLastIndex/predicate-call-parameters.js | 1 - .../findLastIndex/predicate-call-this-non-strict.js | 1 - .../findLastIndex/predicate-call-this-strict-strict.js | 1 - .../findLastIndex/predicate-is-not-callable-throws.js | 1 - .../prototype/findLastIndex/predicate-may-detach-buffer.js | 1 - .../findLastIndex/predicate-not-called-on-empty-array.js | 1 - .../TypedArray/prototype/findLastIndex/prop-desc.js | 1 - .../findLastIndex/return-abrupt-from-predicate-call.js | 1 - .../findLastIndex/return-index-predicate-result-is-true.js | 1 - .../return-negative-one-if-predicate-returns-false-value.js | 1 - .../prototype/findLastIndex/this-is-not-object.js | 1 - .../findLastIndex/this-is-not-typedarray-instance.js | 1 - js/src/tests/user.js | 1 - js/xpconnect/tests/chrome/test_xrayToJS.xhtml | 2 +- 109 files changed, 3 insertions(+), 113 deletions(-) diff --git a/js/src/tests/non262/Array/findLast_findLastIndex.js b/js/src/tests/non262/Array/findLast_findLastIndex.js index e512ec805258..00f56403086d 100644 --- a/js/src/tests/non262/Array/findLast_findLastIndex.js +++ b/js/src/tests/non262/Array/findLast_findLastIndex.js @@ -1,5 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) - /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/js/src/tests/non262/Array/unscopables.js b/js/src/tests/non262/Array/unscopables.js index a63c1351e41b..15d10023e5d7 100644 --- a/js/src/tests/non262/Array/unscopables.js +++ b/js/src/tests/non262/Array/unscopables.js @@ -26,6 +26,8 @@ let expectedKeys = ["at", "fill", "find", "findIndex", + "findLast", + "findLastIndex", "flat", "flatMap", "includes", @@ -40,10 +42,6 @@ if (typeof getRealmConfiguration === "undefined") { var getRealmConfiguration = SpecialPowers.Cu.getJSTestingFunctions().getRealmConfiguration; } -if (getRealmConfiguration().enableArrayFindLast) { - expectedKeys.push("findLast", "findLastIndex"); -} - if (!getBuildConfiguration().release_or_beta && getRealmConfiguration().enableArrayGrouping) { expectedKeys.push("groupBy", "groupByToMap"); } diff --git a/js/src/tests/non262/TypedArray/findLast-and-findLastIndex.js b/js/src/tests/non262/TypedArray/findLast-and-findLastIndex.js index fda0eada5d28..ed14b4a002d0 100644 --- a/js/src/tests/non262/TypedArray/findLast-and-findLastIndex.js +++ b/js/src/tests/non262/TypedArray/findLast-and-findLastIndex.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) /* * Any copyright is dedicated to the Public Domain. * https://creativecommons.org/publicdomain/zero/1.0/ diff --git a/js/src/tests/test262-update.py b/js/src/tests/test262-update.py index 7e5e385ecc21..3775b08eb924 100755 --- a/js/src/tests/test262-update.py +++ b/js/src/tests/test262-update.py @@ -48,7 +48,6 @@ RELEASE_OR_BETA = set( ) SHELL_OPTIONS = { "import-assertions": "--enable-import-assertions", - "array-find-from-last": "--enable-array-find-last", "ShadowRealm": "--enable-shadow-realms", } diff --git a/js/src/tests/test262/built-ins/Array/prototype/Symbol.unscopables/array-find-from-last.js b/js/src/tests/test262/built-ins/Array/prototype/Symbol.unscopables/array-find-from-last.js index dcf4a2047e5f..fae0d595c28c 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/Symbol.unscopables/array-find-from-last.js +++ b/js/src/tests/test262/built-ins/Array/prototype/Symbol.unscopables/array-find-from-last.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2022 Microsoft. 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/Array/prototype/findLast/array-altered-during-loop.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/array-altered-during-loop.js index 96f02437e628..99746b971afa 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/array-altered-during-loop.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/array-altered-during-loop.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/call-with-boolean.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/call-with-boolean.js index d4dc5180d57e..7f7a75ac7c8e 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/call-with-boolean.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/call-with-boolean.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/length.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/length.js index 759b009d56b2..772d631d0602 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/length.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/length.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/name.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/name.js index 5bcc459e3ae2..4188b3d7f9db 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/name.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/name.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/not-a-constructor.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/not-a-constructor.js index 10526637c6b5..9b2316f05440 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/not-a-constructor.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/not-a-constructor.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/predicate-call-parameters.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-call-parameters.js index cb30c4007c9d..7165a681103a 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-call-parameters.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-call-parameters.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/predicate-call-this-non-strict.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-call-this-non-strict.js index 013e7723f984..6b0fa08b5c02 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-call-this-non-strict.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-call-this-non-strict.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/predicate-call-this-strict-strict.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-call-this-strict-strict.js index ae74a76a7c10..53f118c7d959 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-call-this-strict-strict.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-call-this-strict-strict.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options 'use strict'; // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/predicate-called-for-each-array-property.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-called-for-each-array-property.js index f132e6927819..08233f51101f 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-called-for-each-array-property.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-called-for-each-array-property.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/predicate-is-not-callable-throws.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-is-not-callable-throws.js index c00ab3af2b3d..fd8e7d0f9897 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-is-not-callable-throws.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-is-not-callable-throws.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/predicate-not-called-on-empty-array.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-not-called-on-empty-array.js index 6a3de5463e8e..c922025e33e5 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-not-called-on-empty-array.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/predicate-not-called-on-empty-array.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/prop-desc.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/prop-desc.js index 00b83da52c3f..3f665686082d 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/prop-desc.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/prop-desc.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/return-abrupt-from-predicate-call.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/return-abrupt-from-predicate-call.js index f1b887de8dc6..e6d38f74f2bc 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/return-abrupt-from-predicate-call.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/return-abrupt-from-predicate-call.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/return-abrupt-from-property.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/return-abrupt-from-property.js index 1843f52871f2..04626813788d 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/return-abrupt-from-property.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/return-abrupt-from-property.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/return-abrupt-from-this-length-as-symbol.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/return-abrupt-from-this-length-as-symbol.js index c98f6e3519a8..3c38d59c0d56 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/return-abrupt-from-this-length-as-symbol.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/return-abrupt-from-this-length-as-symbol.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/return-abrupt-from-this-length.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/return-abrupt-from-this-length.js index 9b8c8914a518..6c2cd24a3748 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/return-abrupt-from-this-length.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/return-abrupt-from-this-length.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/return-abrupt-from-this.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/return-abrupt-from-this.js index 88ccb73eab44..a24b873282d5 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/return-abrupt-from-this.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/return-abrupt-from-this.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/return-found-value-predicate-result-is-true.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/return-found-value-predicate-result-is-true.js index 8f261644108a..c9026b01ef1f 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/return-found-value-predicate-result-is-true.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/return-found-value-predicate-result-is-true.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLast/return-undefined-if-predicate-returns-false-value.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/return-undefined-if-predicate-returns-false-value.js index 6a6eb48e5500..6ce25bdaef5c 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/return-undefined-if-predicate-returns-false-value.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/return-undefined-if-predicate-returns-false-value.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/array-altered-during-loop.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/array-altered-during-loop.js index 462813150d60..eac5ed537444 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/array-altered-during-loop.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/array-altered-during-loop.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/call-with-boolean.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/call-with-boolean.js index 20875f7a4180..d9565b564170 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/call-with-boolean.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/call-with-boolean.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/length.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/length.js index 24a7692f92e0..f5f3f78354b1 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/length.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/length.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/name.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/name.js index a1ce552fe4c7..9307eb0374e7 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/name.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/name.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/not-a-constructor.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/not-a-constructor.js index a6db7f37b65b..8c6000eea2e5 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/not-a-constructor.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/not-a-constructor.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/predicate-call-parameters.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-call-parameters.js index e56e9de93b5c..02bd2f9182a4 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-call-parameters.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-call-parameters.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/predicate-call-this-non-strict.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-call-this-non-strict.js index 97dd5ae143aa..0179b05f3bff 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-call-this-non-strict.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-call-this-non-strict.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/predicate-call-this-strict-strict.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-call-this-strict-strict.js index df24c9e860fd..3de65dfc2dcb 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-call-this-strict-strict.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-call-this-strict-strict.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options 'use strict'; // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/predicate-called-for-each-array-property.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-called-for-each-array-property.js index 732606dcadd4..487719742b1a 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-called-for-each-array-property.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-called-for-each-array-property.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/predicate-is-not-callable-throws.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-is-not-callable-throws.js index b791c762a2f4..f45b65957813 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-is-not-callable-throws.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-is-not-callable-throws.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/predicate-not-called-on-empty-array.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-not-called-on-empty-array.js index 6b2ee676bf29..a68e8420b4ce 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-not-called-on-empty-array.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/predicate-not-called-on-empty-array.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/prop-desc.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/prop-desc.js index 81c1d81fa639..6959d2518330 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/prop-desc.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/prop-desc.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/return-abrupt-from-predicate-call.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-abrupt-from-predicate-call.js index d6b608c4494a..295cd21b8a9e 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-abrupt-from-predicate-call.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-abrupt-from-predicate-call.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/return-abrupt-from-property.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-abrupt-from-property.js index 44e1cb8bb5d9..e92c86e21232 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-abrupt-from-property.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-abrupt-from-property.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/return-abrupt-from-this-length-as-symbol.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-abrupt-from-this-length-as-symbol.js index bde281c92fd9..f3b1275072c8 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-abrupt-from-this-length-as-symbol.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-abrupt-from-this-length-as-symbol.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/return-abrupt-from-this-length.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-abrupt-from-this-length.js index 55d2b2073ee5..d1e98dc134b5 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-abrupt-from-this-length.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-abrupt-from-this-length.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/return-abrupt-from-this.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-abrupt-from-this.js index 7a41122e92f5..6d756c040fe6 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-abrupt-from-this.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-abrupt-from-this.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/return-index-predicate-result-is-true.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-index-predicate-result-is-true.js index bbff060d492d..9df93fb9e4e0 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-index-predicate-result-is-true.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-index-predicate-result-is-true.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/Array/prototype/findLastIndex/return-negative-one-if-predicate-returns-false-value.js b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-negative-one-if-predicate-returns-false-value.js index d0a54badca79..594091f81d70 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-negative-one-if-predicate-returns-false-value.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLastIndex/return-negative-one-if-predicate-returns-false-value.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/BigInt/detached-buffer.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/detached-buffer.js index d24b53b2c07e..7e42ffaa8a37 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/detached-buffer.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/detached-buffer.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/BigInt/get-length-ignores-length-prop.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/get-length-ignores-length-prop.js index 7e20639afe4b..582951473b41 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/get-length-ignores-length-prop.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/get-length-ignores-length-prop.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/BigInt/predicate-call-changes-value.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-changes-value.js index 01e40fbdfefa..ffbbdea13f5e 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-changes-value.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-changes-value.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/BigInt/predicate-call-parameters.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-parameters.js index 376c755f26eb..9eeba6edfb53 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-parameters.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-parameters.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/BigInt/predicate-call-this-non-strict.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-this-non-strict.js index e283cf057217..b0ddca30f00a 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-this-non-strict.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-this-non-strict.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/BigInt/predicate-call-this-strict-strict.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-this-strict-strict.js index dff11d65a0ae..a9fc757ba6d5 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-this-strict-strict.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-call-this-strict-strict.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options 'use strict'; // Copyright (C) 2021 Microsoft. 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/findLast/BigInt/predicate-is-not-callable-throws.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-is-not-callable-throws.js index f5b9ed396b15..cc2a8381ea4c 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-is-not-callable-throws.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-is-not-callable-throws.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/BigInt/predicate-may-detach-buffer.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-may-detach-buffer.js index 2de46dd37e65..a48ee44eeb53 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-may-detach-buffer.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-may-detach-buffer.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/BigInt/predicate-not-called-on-empty-array.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-not-called-on-empty-array.js index 16a19bc25419..61365a1b3cbe 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-not-called-on-empty-array.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/predicate-not-called-on-empty-array.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/BigInt/return-abrupt-from-predicate-call.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/return-abrupt-from-predicate-call.js index f620031bc93d..775b8ff39815 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/return-abrupt-from-predicate-call.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/return-abrupt-from-predicate-call.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/BigInt/return-found-value-predicate-result-is-true.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/return-found-value-predicate-result-is-true.js index 7bb3048668ec..30513a47e97a 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/return-found-value-predicate-result-is-true.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/return-found-value-predicate-result-is-true.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/BigInt/return-undefined-if-predicate-returns-false-value.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/return-undefined-if-predicate-returns-false-value.js index c3dd3c380419..239455b3099f 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/return-undefined-if-predicate-returns-false-value.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/BigInt/return-undefined-if-predicate-returns-false-value.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/detached-buffer.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/detached-buffer.js index 975f6be19770..4aa8408d8b55 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/detached-buffer.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/detached-buffer.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/get-length-ignores-length-prop.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/get-length-ignores-length-prop.js index 55f4bcb64f2f..29144169497b 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/get-length-ignores-length-prop.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/get-length-ignores-length-prop.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/invoked-as-func.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/invoked-as-func.js index 53b0e863b09b..ccfb329e0b8f 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/invoked-as-func.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/invoked-as-func.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/invoked-as-method.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/invoked-as-method.js index 16cde9e80bb4..cb1bc3259215 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/invoked-as-method.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/invoked-as-method.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/length.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/length.js index 4c93c8561e96..0513865dd835 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/length.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/length.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/name.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/name.js index c15047904a6c..4ed949783666 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/name.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/name.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/not-a-constructor.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/not-a-constructor.js index 1d59246fcde9..0aa9fd189c9f 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/not-a-constructor.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/not-a-constructor.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/predicate-call-changes-value.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-call-changes-value.js index 3d32f5521503..fa6d96cb832a 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-call-changes-value.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-call-changes-value.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/predicate-call-parameters.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-call-parameters.js index db26603b2e1c..b31a93f459fe 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-call-parameters.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-call-parameters.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/predicate-call-this-non-strict.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-call-this-non-strict.js index 41c0729ca95f..b35b25e9f202 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-call-this-non-strict.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-call-this-non-strict.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/predicate-call-this-strict-strict.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-call-this-strict-strict.js index 2f2c3d07d58a..6c9b6936bfd3 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-call-this-strict-strict.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-call-this-strict-strict.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options 'use strict'; // Copyright (C) 2021 Microsoft. 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/findLast/predicate-is-not-callable-throws.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-is-not-callable-throws.js index dd8eb85030fa..4e46f361627a 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-is-not-callable-throws.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-is-not-callable-throws.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/predicate-may-detach-buffer.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-may-detach-buffer.js index 79c49ed71e78..51cc7dad9a5f 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-may-detach-buffer.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-may-detach-buffer.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/predicate-not-called-on-empty-array.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-not-called-on-empty-array.js index aa7757cf6fee..ffe6e0a94433 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-not-called-on-empty-array.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/predicate-not-called-on-empty-array.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/prop-desc.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/prop-desc.js index a0e43b0cdea8..bc0ad32e7589 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/prop-desc.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/prop-desc.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/return-abrupt-from-predicate-call.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/return-abrupt-from-predicate-call.js index 4b5931d8f2bf..b18ead0dc00d 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/return-abrupt-from-predicate-call.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/return-abrupt-from-predicate-call.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/return-found-value-predicate-result-is-true.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/return-found-value-predicate-result-is-true.js index 46f995d80eae..842492b52212 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/return-found-value-predicate-result-is-true.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/return-found-value-predicate-result-is-true.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/return-undefined-if-predicate-returns-false-value.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/return-undefined-if-predicate-returns-false-value.js index a75b14644ee4..313915e115b8 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/return-undefined-if-predicate-returns-false-value.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/return-undefined-if-predicate-returns-false-value.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/this-is-not-object.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/this-is-not-object.js index 1ad1cc4593fb..8e3cd5e0fb75 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/this-is-not-object.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/this-is-not-object.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLast/this-is-not-typedarray-instance.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/this-is-not-typedarray-instance.js index cb3bce0c7dd7..d86c6593a8c2 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/this-is-not-typedarray-instance.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLast/this-is-not-typedarray-instance.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/BigInt/detached-buffer.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/detached-buffer.js index 2a3c09c5bc92..912a877c91d9 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/detached-buffer.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/detached-buffer.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/BigInt/get-length-ignores-length-prop.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/get-length-ignores-length-prop.js index ce325b2c6a45..6ebea5d93e3e 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/get-length-ignores-length-prop.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/get-length-ignores-length-prop.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/BigInt/predicate-call-changes-value.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-changes-value.js index 8e7d8ac5e6ef..a2e1ee53d24a 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-changes-value.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-changes-value.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/BigInt/predicate-call-parameters.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-parameters.js index 5ff3e56332bb..e589cb2732b4 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-parameters.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-parameters.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/BigInt/predicate-call-this-non-strict.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-this-non-strict.js index b1add647f131..82c17225c673 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-this-non-strict.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-this-non-strict.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/BigInt/predicate-call-this-strict-strict.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-this-strict-strict.js index 50e04562e0fb..d9219834fe64 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-this-strict-strict.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-call-this-strict-strict.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options 'use strict'; // Copyright (C) 2021 Microsoft. 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/findLastIndex/BigInt/predicate-is-not-callable-throws.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-is-not-callable-throws.js index 0ae47b7a9e17..0ad12e72a19f 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-is-not-callable-throws.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-is-not-callable-throws.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/BigInt/predicate-may-detach-buffer.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-may-detach-buffer.js index 3ab0728757eb..b4f8e774a93e 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-may-detach-buffer.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-may-detach-buffer.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/BigInt/predicate-not-called-on-empty-array.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-not-called-on-empty-array.js index 6632cc6af5a9..63090c3b549d 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-not-called-on-empty-array.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/predicate-not-called-on-empty-array.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/BigInt/return-abrupt-from-predicate-call.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/return-abrupt-from-predicate-call.js index 658024c83378..4f5b4d6f528d 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/return-abrupt-from-predicate-call.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/return-abrupt-from-predicate-call.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/BigInt/return-index-predicate-result-is-true.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/return-index-predicate-result-is-true.js index d30a3f5412c6..28a0bff79e83 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/return-index-predicate-result-is-true.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/return-index-predicate-result-is-true.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/BigInt/return-negative-one-if-predicate-returns-false-value.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/return-negative-one-if-predicate-returns-false-value.js index 20e6f272b46a..eb08ec96ef56 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/return-negative-one-if-predicate-returns-false-value.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/BigInt/return-negative-one-if-predicate-returns-false-value.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/detached-buffer.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/detached-buffer.js index dbc71cb0a6aa..953b277879d3 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/detached-buffer.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/detached-buffer.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/get-length-ignores-length-prop.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/get-length-ignores-length-prop.js index f5f7fa8b9cd8..389ec09afab8 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/get-length-ignores-length-prop.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/get-length-ignores-length-prop.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/invoked-as-func.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/invoked-as-func.js index 15e4dba96b88..bec6bb9b56a4 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/invoked-as-func.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/invoked-as-func.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/invoked-as-method.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/invoked-as-method.js index a0b6550d3463..89ee3f90f7f5 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/invoked-as-method.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/invoked-as-method.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/length.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/length.js index 8601a3e0b093..9586c335a597 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/length.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/length.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/name.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/name.js index 30d785d6165c..87e46399632a 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/name.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/name.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/not-a-constructor.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/not-a-constructor.js index 8a7d5055a123..ec57906ae8b4 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/not-a-constructor.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/not-a-constructor.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/predicate-call-changes-value.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-call-changes-value.js index a29f3da7b800..d288354eddce 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-call-changes-value.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-call-changes-value.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/predicate-call-parameters.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-call-parameters.js index 34377236fc63..6fd62813ea34 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-call-parameters.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-call-parameters.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/predicate-call-this-non-strict.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-call-this-non-strict.js index 3eecb5d8c253..3c82732709ce 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-call-this-non-strict.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-call-this-non-strict.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/predicate-call-this-strict-strict.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-call-this-strict-strict.js index c8c194ad9bb6..db22a8437228 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-call-this-strict-strict.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-call-this-strict-strict.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options 'use strict'; // Copyright (C) 2021 Microsoft. 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/findLastIndex/predicate-is-not-callable-throws.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-is-not-callable-throws.js index 93b7c18dbf3e..3785ecdac2d1 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-is-not-callable-throws.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-is-not-callable-throws.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/predicate-may-detach-buffer.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-may-detach-buffer.js index e83fa6b9f50c..9edb72ff2fe6 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-may-detach-buffer.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-may-detach-buffer.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/predicate-not-called-on-empty-array.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-not-called-on-empty-array.js index 04793a70f476..857a5218971b 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-not-called-on-empty-array.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/predicate-not-called-on-empty-array.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/prop-desc.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/prop-desc.js index 9068ffe39d8e..344ab98b2f4c 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/prop-desc.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/prop-desc.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/return-abrupt-from-predicate-call.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/return-abrupt-from-predicate-call.js index e2cbd34fb1e5..e615464938ec 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/return-abrupt-from-predicate-call.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/return-abrupt-from-predicate-call.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/return-index-predicate-result-is-true.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/return-index-predicate-result-is-true.js index 7c8a779d2b29..c81fb38cdf75 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/return-index-predicate-result-is-true.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/return-index-predicate-result-is-true.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/return-negative-one-if-predicate-returns-false-value.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/return-negative-one-if-predicate-returns-false-value.js index 2d689948bf2c..e535075e9b51 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/return-negative-one-if-predicate-returns-false-value.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/return-negative-one-if-predicate-returns-false-value.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/this-is-not-object.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/this-is-not-object.js index eb1878a8782f..1dbfc3115fcf 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/this-is-not-object.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/this-is-not-object.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. 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/findLastIndex/this-is-not-typedarray-instance.js b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/this-is-not-typedarray-instance.js index 0a896a3f583b..cc92b40bec86 100644 --- a/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/this-is-not-typedarray-instance.js +++ b/js/src/tests/test262/built-ins/TypedArray/prototype/findLastIndex/this-is-not-typedarray-instance.js @@ -1,4 +1,3 @@ -// |reftest| shell-option(--enable-array-find-last) skip-if(!xulRuntime.shell) -- requires shell-options // Copyright (C) 2021 Microsoft. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- diff --git a/js/src/tests/user.js b/js/src/tests/user.js index 723831217af8..8c2c394543a4 100644 --- a/js/src/tests/user.js +++ b/js/src/tests/user.js @@ -36,4 +36,3 @@ user_pref("javascript.options.experimental.ergonomic_brand_checks", true); user_pref("javascript.options.experimental.enable_change_array_by_copy", false); user_pref("javascript.options.experimental.enable_new_set_methods", false); user_pref("javascript.options.experimental.import_assertions", true); -user_pref("javascript.options.experimental.array_find_last", false); diff --git a/js/xpconnect/tests/chrome/test_xrayToJS.xhtml b/js/xpconnect/tests/chrome/test_xrayToJS.xhtml index 713782b821b6..a3fb24aa470b 100644 --- a/js/xpconnect/tests/chrome/test_xrayToJS.xhtml +++ b/js/xpconnect/tests/chrome/test_xrayToJS.xhtml @@ -233,7 +233,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=933681 "pop", "shift", "unshift", "splice", "concat", "slice", "lastIndexOf", "indexOf", "includes", "forEach", "map", "reduce", "reduceRight", "filter", "some", "every", "find", "findIndex", "copyWithin", "fill", Symbol.iterator, Symbol.unscopables, "entries", "keys", - "values", "constructor", "flat", "flatMap", "at"]; + "values", "constructor", "flat", "flatMap", "at", "findLast", "findLastIndex"]; if (isNightlyBuild) { gPrototypeProperties['Array'].push("group"); gPrototypeProperties['Array'].push("groupToMap");