Closed Bug 1911836 Opened 1 year ago Closed 1 year ago

Implement runtime.onUserScriptMessage and runtime.onUserScriptConnect

Categories

(WebExtensions :: General, enhancement, P2)

enhancement

Tracking

(firefox134 fixed)

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: robwu, Assigned: robwu)

References

(Blocks 1 open bug)

Details

(Whiteboard: [addons-jira])

Attachments

(2 files)

See https://bugzilla.mozilla.org/show_bug.cgi?id=1875475#c3 for details.

The userScripts.configureWorld method should take a messaging option that enables extensions to opt in to exposing userScripts APIs to enable messaging with the user script world, dispatched to runtime.onUserScriptMessage or runtime.onUserScriptConnect.

Pushed by rob@robwu.nl: https://hg.mozilla.org/integration/autoland/rev/27bc15e6a7e3 Implement onUserScriptMessage r=zombie https://hg.mozilla.org/integration/autoland/rev/00d45d23b775 Implement onUserScriptConnect r=zombie
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: