Closed Bug 1283010 Opened 10 years ago Closed 10 years ago

Windows nativeMessagingHost registry key/value differ from doc/Chrome

Categories

(WebExtensions :: Untriaged, defect)

defect
Not set
normal

Tracking

(firefox50 fixed)

RESOLVED FIXED
mozilla50
Iteration:
50.2 - Jul 4
Tracking Status
firefox50 --- fixed

People

(Reporter: gorf4673, Assigned: aswan)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 Steps to reproduce: 64 bit host, 32 bit Firefox For webextension using port = chrome.runtime.connectNative('com.MyApp'); Created nativeHost registry SOFTWARE\Wow6432Node\Mozilla\NativeMessagingHosts\com.MyApp (default) = "c:\myapp\com.MyApp.json" Actual results: On port.postMessage('echo') recieve onDisconnect callback response No such native application com.MyApp this.NativeApp</this.startupPromise<() NativeMessaging.jsm:207 Expected results: Native application (manifest) should have been found
I was looking back at the initial doc and comparing with how the registry reading is being done. Initial SOFTWARE\Mozilla\NativeMessagingHosts\<name> was state similar to Chrome doc SOFTWARE\Google\Chrome\NativeMessagingHosts\<name> In Chrome this meant having a <name> key and (@ default value) being set to the manifest.json After some attempts and debugging, in Firefox this has changed to mean having the NativeMessagingHosts key and <name> value being set to the manifest.json
Blocks: 1190682
Assignee: nobody → aswan
Iteration: --- → 50.2 - Jul 4
Comment on attachment 8766664 [details] Bug 1283010 Fix windows registry paths for native messaging Review request updated; see interdiff: https://reviewboard.mozilla.org/r/61478/diff/1-2/
Attachment #8766664 - Flags: review?(kmaglione+bmo)
Attachment #8766664 - Flags: review?(kmaglione+bmo) → review+
Comment on attachment 8766664 [details] Bug 1283010 Fix windows registry paths for native messaging https://reviewboard.mozilla.org/r/61478/#review58696
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by aswan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6a8acb16142d Fix windows registry paths for native messaging r=kmag
Comment on attachment 8766664 [details] Bug 1283010 Fix windows registry paths for native messaging Review request updated; see interdiff: https://reviewboard.mozilla.org/r/61478/diff/2-3/
Pushed by aswan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4f8355531f47 Fix windows registry paths for native messaging r=kmag
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: