Closed
Bug 1406413
Opened 7 years ago
Closed 6 years ago
TypeError: gBrowser.tabContainer is undefined every time the browser is closed (seen only in debug)
Categories
(Firefox :: Session Restore, enhancement, P3)
Tracking
()
RESOLVED
FIXED
Firefox 60
People
(Reporter: mkaply, Assigned: florian)
Details
Attachments
(1 file)
1.63 KB,
patch
|
mikedeboer
:
review+
|
Details | Diff | Splinter Review |
When you close the browser in debug mode, you get this message on the console: avaScript error: chrome://browser/content/browser.js, line 8361: TypeError: gBrowser.tabContainer is undefined The error is actually at the first line in the function removeRestoreButton: http://searchfox.org/mozilla-central/source/browser/base/content/browser.js#8409 We should add a null check or figure out why this is failing,
Updated•7 years ago
|
status-firefox57:
--- → wontfix
Priority: -- → P3
Assignee | ||
Comment 1•6 years ago
|
||
Here is where the error comes from: TypeError: gBrowser.tabContainer is undefined removeRestoreButton@chrome://browser/content/browser.js:8459:9 observe@chrome://browser/content/browser.js:8481:5 clear@resource:///modules/sessionstore/SessionStore.jsm:5107:7 ssi_onQuitApplication@resource:///modules/sessionstore/SessionStore.jsm:1730:7 ssi_observe@resource:///modules/sessionstore/SessionStore.jsm:788:9 This patch just prevents the notification from being fired during shutdown.
Attachment #8941492 -
Flags: review?(mdeboer)
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → florian
Status: NEW → ASSIGNED
Comment 2•6 years ago
|
||
Comment on attachment 8941492 [details] [diff] [review] Patch Review of attachment 8941492 [details] [diff] [review]: ----------------------------------------------------------------- LGTM!
Attachment #8941492 -
Flags: review?(mdeboer) → review+
Updated•6 years ago
|
Component: General → Session Restore
Pushed by florian@queze.net: https://hg.mozilla.org/integration/mozilla-inbound/rev/c1d281ef5482 avoid notifying browser windows that we are clearing the session during shutdown, r=mikedeboer.
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c1d281ef5482
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
You need to log in
before you can comment on or make changes to this bug.
Description
•