[tor-bugs] #17248 [Tor Browser]: Investigate new WebExtensions API requirements for our extensions

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 12 15:57:32 UTC 2015


#17248: Investigate new WebExtensions API requirements for our extensions
----------------------------------+--------------------------
 Reporter:  gk                    |          Owner:  tbb-team
     Type:  task                  |         Status:  new
 Priority:  High                  |      Milestone:
Component:  Tor Browser           |        Version:
 Severity:  Normal                |     Resolution:
 Keywords:  TorBrowserTeam201511  |  Actual Points:
Parent ID:                        |         Points:
  Sponsor:                        |
----------------------------------+--------------------------

Comment (by brade):

 '''Requirements that we would probably implement using Native Messaging
 once it is available in Firefox (NM#):'''
 Related Bugs: https://bugzil.la/1190682

 NM1: Start and monitor an external process
 Current Solution: nsIProcess
 New Solution: Native Messaging

 NM2: Get PID of the browser process
 Current Solution: nsIXULRuntime.processID (fallback uses js-ctypes)
 New Solution: Native Messaging

 NM3: Get current working directory
 Current Solution: directory service "CurProcD"
 New Solution: Native Messaging

 NM4: Access to local files
 Current Solution: nsIFile
 New Solution: Native Messaging
 Notes: Tor Launcher checks for existence of files, reads data from files,
 constructs files paths, and parses file paths.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17248#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list