Closed Bug 1947719 Opened 12 days ago Closed 10 days ago

Move setImportAttributes call out of NIGHTLY_BUILD guard

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

VERIFIED FIXED
137 Branch
Tracking Status
firefox137 --- verified

People

(Reporter: allstars.chh, Assigned: allstars.chh)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-needed)

Attachments

(3 files)

Currently, the API to set the import attributes pref is only available in nightly build, see
https://searchfox.org/mozilla-central/rev/5e7382bf8bbb88d8260c72990cfea9b626d9b307/js/xpconnect/src/XPCJSContext.cpp#796,
that causes a problem when running wpt or mochitest in BETA build, even the tests are run with the pref to turn on.

I'll remove the ifdef NIGHTLY_BUILD guard, while still keeping the pref off by default.

Replace the legacy name (import assertions) with the correct one (import
attributes).

Duplicate of this bug: 1947455
Duplicate of this bug: 1947432
Pushed by allstars.chh@gmail.com: https://hg.mozilla.org/integration/autoland/rev/64a496c34397 Part 1: Move import attributes pref and setImportAttributes out of nightly build guard. r=dminor https://hg.mozilla.org/integration/autoland/rev/4715f18f59fa Part 2. Update the error message for import attributes. r=dminor https://hg.mozilla.org/integration/autoland/rev/48a8dd8caf6e Part 3: Update WPT ini files and xpcshell config file. r=dminor,extension-reviewers,willdurand https://hg.mozilla.org/integration/autoland/rev/c9e47dbea687 apply code formatting via Lando

Verified fixed in today's beta simulation

Status: RESOLVED → VERIFIED
Blocks: 1947432
No longer duplicate of this bug: 1947432
Blocks: 1947455
No longer duplicate of this bug: 1947455
Keywords: dev-doc-needed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: