[tbb-bugs] #13791 [Tor Browser]: Tor Browser Bundle ignores -app argument (GNU/Linux, mine is 64 bit)

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 19 14:45:27 UTC 2014

#13791: Tor Browser Bundle ignores -app argument (GNU/Linux, mine is 64 bit)
 Reporter:                                       |          Owner:  tbb-
  0a0c4927a2b9896cf3bed2389224bbe13e9a76b5       |  team
     Type:  defect                               |         Status:  new
 Priority:  normal                               |      Milestone:
Component:  Tor Browser                          |        Version:
 Keywords:  TorBrowser bundle XUL slimerjs       |  Actual Points:
Parent ID:                                       |         Points:
 Currently command line arguments given to start-tor-browser should be
 passed to Firefox.
 However, I ran into problems when trying to use slimerjs
 (http://slimerjs.org), which can use Firefox to run itself as an "app".
 Slimerjs is basically a framework for automating Firefox. When I want to
 use it with Tor, I think it is best to use it with TBB, as TBB has its
 enhancements needed to good anonymity added to Firefox ESR.
 Through TBB is a MODIFIED version of Firefox (plus Tor), I feel there must
 not be any _real_ compatibility issue.

 Slimerjs launches itself with this command:
 "$SLIMERJSLAUNCHER" -app "$SLIMERDIR/application.ini" $PROFILE -no-remote
 where "$SLIMERJSLAUNCHER" becomes "start-tor-browser".

 In TBB's start-tor-brwser:
 ./firefox  --class "Tor Browser" \
     -profile TorBrowser/Data/Browser/profile.default "${@}"

 Results in:
 ./firefox  --class "Tor Browser" \
     -profile TorBrowser/Data/Browser/profile.default -app
 "$SLIMERDIR/application.ini" $PROFILE -no-remote "$@"

 And used as:
 SLIMERJSLAUNCHER=start-tor-browser slimerjs script.js

 I suspected duplicated "-profile" might cause problems. But editing around
 them did not solve any issues.

 Slimerjs is a Firefox automation framework, so automating TBB should be

 Since TBB supports command line arguments, it should be able to be used
 for running "trusted" XUL applications.

 Expected behavior:
 Runs given javascript with slimerjs, with the same functionality and
 fingerprints as normal TBB operations.

 Actual behavior (TBB 4.0):
 TBB launches as usual. Nothing related to slimerjs happens.

Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13791>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online

More information about the tbb-bugs mailing list