Closed Bug 1960027 Opened 19 days ago Closed 15 days ago

Remove JS_HAS_TEMPORAL_API

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: anba, Assigned: anba)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

Temporal is now enabled by default (bug 1912511), so let's remove JS_HAS_TEMPORAL_API. This is also prerequisite to share some currently duplicated code for Intl which implements the same functionality as Temporal. The preference for Temporal won't be removed as part of this bug.

Removes the separate "icu4x_calendar" feature and instead enables "icu_calendar"
by default.

When JS_HAS_INTL_API is defined, then ICU4C and ICU4X are available, which are
both required to build Temporal.

Actually remove JS_HAS_TEMPORAL_API and the "--with-temporal-api" configure option.

Pushed by andre.bargull@gmail.com: https://hg.mozilla.org/integration/autoland/rev/af8c4bd712c4 Part 1: Always enable icu_calendar when ICU4X is used. r=spidermonkey-reviewers,dminor https://hg.mozilla.org/integration/autoland/rev/194efde0efa6 Part 2: Remove JS_HAS_TEMPORAL_API in JS_HAS_INTL_API code. r=spidermonkey-reviewers,dminor https://hg.mozilla.org/integration/autoland/rev/38cc3665a824 Part 3: Replace JS_HAS_TEMPORAL_API with JS_HAS_INTL_API. r=spidermonkey-reviewers,dminor https://hg.mozilla.org/integration/autoland/rev/408fb399a602 Part 4: Remove JS_HAS_TEMPORAL_API and --with-temporal-api. r=spidermonkey-reviewers,dminor
Blocks: sm-build
Severity: -- → N/A
Priority: -- → P1
Regressions: 1960884
Regressions: 1960889
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: