[tbb-bugs] #21267 [Applications/Tor Browser]: e10s compatibility for Torbutton's content sizer

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jan 19 19:38:04 UTC 2017


#21267: e10s compatibility for Torbutton's content sizer
------------------------------------------+--------------------------------
     Reporter:  mcs                       |      Owner:  tbb-team
         Type:  defect                    |     Status:  new
     Priority:  Medium                    |  Milestone:
    Component:  Applications/Tor Browser  |    Version:
     Severity:  Normal                    |   Keywords:  torbutton,ff52-esr
Actual Points:                            |  Parent ID:
       Points:                            |   Reviewer:
      Sponsor:                            |
------------------------------------------+--------------------------------
 Torbutton will need to be revised in various ways for compatiblity with
 Firefox's multiprocess mode (aka electrolysis or e10s). One example is the
 content sizer code. Here is the first error that Kathy and I saw:
 {{{
 A coding exception was thrown and uncaught in a Task.

 Full message: TypeError: gBrowser.contentWindow is null
 Full stack:
 quantizeBrowserSize/updateDimensions at chrome://torbutton/content/content-
 sizer.js:247:18
 quantizeBrowserSize/autoresize/<@chrome://torbutton/content/content-
 sizer.js:436:7
 TaskImpl_run at resource://gre/modules/Task.jsm:319:42
 TaskImpl at resource://gre/modules/Task.jsm:277:3
 createAsyncFunction/asyncFunction at resource://gre/modules/Task.jsm:252:14
 Task_spawn at resource://gre/modules/Task.jsm:166:12
 quantizeBrowserSize/autoresize at chrome://torbutton/content/content-
 sizer.js:431:3
 quantizeBrowserSize/quantizeBrowserSizeMain/activate at chrome://torbutton/content
 /content-sizer.js:487:30
 bindPref/update at resource://torbutton/modules/utils.js:31:24
 bindPref at resource://torbutton/modules/utils.js:39:5
 bindPrefAndInit at resource://torbutton/modules/utils.js:49:5
 quantizeBrowserSize/quantizeBrowserSizeMain at chrome://torbutton/content
 /content-sizer.js:501:16
 quantizeBrowserSize/stopObserving<@chrome://torbutton/content/content-
 sizer.js:508:5
 observe/observer.observe at resource://torbutton/modules/utils.js:61:9
 }}}

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


More information about the tbb-bugs mailing list