WebExtensions/Native Messaging: Difference between revisions

Jump to navigation Jump to search
updated manifest locations
(Created page with "This page is about the project to add APIs related to native messaging to WebExtensions. The APIs will be based on the [https://developer.chrome.com/extensions/nativeMessagin...")
 
(updated manifest locations)
Line 17: Line 17:
=== subprocess ===
=== subprocess ===


All the work of launching a child process and doing I/O will be contained in a new toolkit module called "subprocess".  This will be loosely based on the existing [https://dxr.mozilla.org/mozilla-central/source/addon-sdk/source/lib/sdk/system/child_process.js child_process] addon SDK module but with a narrower interface and written from scratch with an emphasis on performance with large messages. (XXX link to subprocess tracking bug.  kmag?)
All the work of launching a child process and doing I/O is contained in a toolkit module called "subprocess", which is loosely based on the existing [https://dxr.mozilla.org/mozilla-central/source/addon-sdk/source/lib/sdk/system/child_process.js child_process] addon SDK module but with a narrower interface and written from scratch with an emphasis on performance with large messages.


=== Host Manifests ===
=== Host Manifests ===
Line 47: Line 47:
|Windows
|Windows
|Global
|Global
|Path contained in registry key <tt>HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox\NativeMessagingHosts\<name></tt>
|Path contained in registry key <tt>HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\NativeMessagingHosts\<name></tt>
|-
|-
|Windows
|Windows
|User
|User
|Path contained in registry key <tt>HKEY_CURRENT_USER\Software\Mozilla\Firefox\NativeMessagingHosts\<name></tt>
|Path contained in registry key <tt>HKEY_CURRENT_USER\Software\Mozilla\NativeMessagingHosts\<name></tt>
|-
|-
|Mac
|Mac
|Global
|Global
|<tt>/Library/Application Support/Firefox/NativeMessagingHosts/<name>.json</tt>
|<tt>/Library/Application Support/Mozilla/NativeMessagingHosts/<name>.json</tt>
|-
|-
|Mac
|Mac
|User
|User
|<tt>~/Library/Application Support/Firefox/NativeMessagingHosts/<name>.json</tt>
|<tt>~/Library/Application Support/Mozilla/NativeMessagingHosts/<name>.json</tt>
|-
|-
|Linux
|Linux
10

edits

Navigation menu