Commit ae855919 authored by André Bargull's avatar André Bargull Committed by andre.bargull@gmail.com
Browse files

Bug 1967986 - Part 1: Handle new feature tags. r=spidermonkey-reviewers,dminor

Changes the shell option for `Atomics.waitAsync` because passing `-P atomics_wait_async`
through the test262-update script doesn't work correctly.

Differential Revision: https://phabricator.services.mozilla.com/D250761
parent 116ac6a8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ FEATURE_CHECK_NEEDED = {
    "Error.isError": "!Error.isError",
    "iterator-sequencing": "!Iterator.concat",
    "Math.sumPrecise": "!Math.sumPrecise",  # Bug 1918708
    "upsert": "!Map.prototype.getOrInsertComputed",
}
RELEASE_OR_BETA = set(
    [
@@ -67,7 +68,8 @@ SHELL_OPTIONS = {
    "Error.isError": "--enable-error-iserror",
    "iterator-sequencing": "--enable-iterator-sequencing",
    "Math.sumPrecise": "--enable-math-sumprecise",
    "Atomics.waitAsync": "-P atomics_wait_async",
    "Atomics.waitAsync": "--setpref=atomics_wait_async",
    "upsert": "--enable-upsert",
}

INCLUDE_FEATURE_DETECTED_OPTIONAL_SHELL_OPTIONS = {}