[Whonix-devel] #16725 [Tor Browser]: TorBrowser fails maximizing while using diffrent homepage

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 7 03:03:58 CEST 2015


#16725: TorBrowser fails maximizing while using diffrent homepage
-----------------------------+----------------------
     Reporter:  kleft        |      Owner:  tbb-team
         Type:  defect       |     Status:  new
     Priority:  trivial      |  Milestone:
    Component:  Tor Browser  |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |    Sponsor:
-----------------------------+----------------------
Changes (by arthuredelstein):

 * cc: gk (added)


Comment:

 The line that causes the window to resize after the user attempts to
 maximize is here:
 https://gitweb.torproject.org/torbutton.git/tree/src/chrome/content/torbutton.js?id=a6f8dcec3bc11bcfc9ded64943051e2408ee9190#n3598

 This code only runs when the "extensions.torbutton.startup_resize_period"
 is set to `true`. That pref is set to `false` in the
 `torbutton_on_abouttor_load` function, which is triggered by the custom
 "AboutTorLoad" event, created by the about:tor page (`aboutTor.xhtml`).

 So it seems the pref is only turned off when about:tor is loaded. We need
 to find the right place to turn off this pref regardless of whatever page
 is loaded in a new window. Maybe gk has a suggestion?

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


More information about the Whonix-devel mailing list