Open Bug 1611142 Opened 5 years ago Updated 1 month ago

Replace usage of sendSyncMessage for frame data

Categories

(WebExtensions :: General, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: zombie, Unassigned)

References

Details

(Whiteboard: [addons-jira])

https://searchfox.org/mozilla-central/rev/e878e5b8/toolkit/components/extensions/ExtensionProcessScript.jsm#83

There are no sync messages with fission. My plan is to store frame data in cpmm.sharedMem, keyed off browserId from Mossop's bug 1580766.

I think we can also use the existence of that same frame data to replace usage of message managers and frame scripts and tab-content-frameloader-created observer notification to control into which documents we want to inject content script/extension apis.

https://searchfox.org/mozilla-central/rev/e878e5b8/toolkit/components/extensions/ExtensionPolicyService.cpp#464
https://searchfox.org/mozilla-central/rev/e878e5b8/browser/base/content/tab-content.js#111

Priority: -- → P2
Depends on: 1580766
Severity: normal → S3
Severity: S3 → N/A
Type: enhancement → task
Priority: P2 → P3
Whiteboard: [addons-jira]
You need to log in before you can comment on or make changes to this bug.