Modify Firefox to register itself as a native messaging client for Chrome for the Dual Browser extensions on Windows
Categories
(Firefox :: Shell Integration, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: michaelahughesuk, Assigned: nipunshukla002)
References
Details
(Whiteboard: [fidedi])
Attachments
(2 files, 1 obsolete file)
For the Chromium dual browser extension to work (to launch a site in Firefox), there needs to be a mechanism to determine if Firefox is installed and registered as a handler for the firefox: and firefox-private: protocols. The Dual Browser extension will attempt to connect to a native messaging client, which will return an error if the native messaging client is not registered, indicating Firefox isn't installed.
So, Firefox needs to register itself as the native message handler of this type, in the same places in the code that it registers itself as the handler for the above protocols.
https://developer.chrome.com/docs/apps/nativeMessaging/#native-messaging-host-location
Updated•1 year ago
|
Reporter | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
Comment 4•1 year ago
|
||
bugherder |
Assignee | ||
Comment 5•11 months ago
|
||
Depends on D205485
Updated•11 months ago
|
Updated•11 months ago
|
Comment 6•11 months ago
|
||
Because the bugs have been filed without any description, nor links back to the original bugs, I am copy-pasting the message I put on Slack before, with bug references.
The patches with the Native Messaging host has landed in Firefox, behind the
browser.firefoxbridge.enabled
pref, off by default. The patch stack that lists the nativeMessaging host IDs and the pref is at https://bugzilla.mozilla.org/show_bug.cgi?id=1876344
There should be a separate bug about setting the pref to true by default.
I cannot find this bug, has it ever been filed?
Before doing so, two more patches should land: (1) limiting the patch to the default profile directory by default
(2) unit tests for registry changes (so that the unit tests don't pollute the registry of developers/CI)
P.S. shouln't this bug and bug 1876344 be in the Firefox::Shell Integration component since neither patch touches the installer?
Assignee | ||
Comment 7•11 months ago
|
||
I've just filed that bug and linked it here. Also changed the two bugs you mentioned to Shell Integration. I set it to the Installer component when the original registration method was the installer rather than just the idle task.
Comment 9•10 months ago
|
||
bugherder |
Description
•