Closed Bug 1866732 Opened 1 year ago Closed 9 months ago

Remove support for loading JSMs in Actors

Categories

(Core :: DOM: Content Processes, task)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: standard8, Assigned: arai)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Once bug 1866720 has landed, I think we will have no more actors in m-c that use JSMs - except for tests which are explicit checking that the JSMs load into actors.

Bug 1866725 is the equivalent for comm-central code.

Hence, once they are landed/complete, we should be able to remove the actor support for loading JSMs.

See Also: → 1881887
No longer depends on: 1866725
See Also: → 1866725
Whiteboard: [esmification-timeline]

Mathew: We did want this to depend on bug 1866725 being complete. This was a big change and we wanted to give Thunderbird time to complete it (which they now have). Although we don't always wait on Thunderbird, this was an explicit choice as mentioned in comment 0. Please stop unnecessarily changing dependencies.

Depends on: 1866725
See Also: 1866725

standard8, do you think it would be okay to do this now? It looks like the two dependent bugs landed about 7 months ago.

Flags: needinfo?(standard8)

The see also bug 1881887 says that they were waiting for ESR128, and we're on 130 in Nightly now.

The last published plan for removing the import support following ESM-ification was Firefox 136.

However, I'm not sure if we had any external code using actors, so it may be possible that we could clean up the actors, especially if that's blocking other work.

I'm going to pass this over to :arai though, as they have more of an insight into the external factors than I do.

Flags: needinfo?(standard8) → needinfo?(arai.unmht)

There are some external consumers for actors API, and at least 2 of them are not yet fully ESMified.

Most of the data for Thunderbird extensions are from 6 month ago (except for the following 2 that I checked right now), I can check the latest data from Thunderbird addons website if necessary. (only public addons)

For Firefox privileged extensions, I don't have enough privileges to check all of them, but at least for public ones, the following is the only consumer.

Firefox privileged extensions:

Thunderbird extensions:

Flags: needinfo?(arai.unmht)

Thanks. It isn't getting in the way of anything I'm working on, but I was looking at this code and I figured I'd clean it up if it was completely unused. But it sounds like it is not.

Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/682921dba76d Part 1: Remove tests for loading JSMs in Actors. r=nika https://hg.mozilla.org/integration/autoland/rev/17e232b2bc28 Part 2: Remove support for loading JSMs in Actors. r=nika

Backed out for causing xpcshell failures @ test_envChain_subscript_in_frameScript.js

TEST-UNEXPECTED-FAIL | js/xpconnect/tests/unit/test_envChain_subscript_in_frameScript.js | xpcshell return code: 0
Flags: needinfo?(arai.unmht)
Flags: needinfo?(arai.unmht)
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/c08a7d532dd8 Part 1: Remove tests for loading JSMs in Actors. r=nika https://hg.mozilla.org/integration/autoland/rev/9a7d899876be Part 2: Remove support for loading JSMs in Actors. r=nika
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: