Closed Bug 1479332 Opened 7 years ago Closed 7 years ago

allow sending file through native messaging

Categories

(WebExtensions :: General, enhancement)

All
Windows
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lolipopplus, Unassigned)

Details

a specific use case for this is to retrieve key files into a password manager.
Has STR: --- → yes
Product: Firefox → WebExtensions
Sorry, but I don't understand what you're requesting
(In reply to Kris Maglione [:kmag] from comment #1) > Sorry, but I don't understand what you're requesting now native messaging allows only data transfer via json. what I am requesting is to send a file directly to the native app. example: when I settings up totp on github, it provides recovery code as a text file. if native messaging allows transferring files, it can be retrieved directly into my manager so that I don't need to erase my drive space securely.
This sounds like something you can already do with the existing native messaging apis together with filterResponseData: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/filterResponseData Alternatively, you could use the cookies API to get any credentials you need and simply make an http request from your native application instead of having the browser make the request. If you're asking for something else, please include a much more detailed description of what you're proposing.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.