Skip to content

Commit

Permalink
Yet another debug logs around tab restoring
Browse files Browse the repository at this point in the history
(related to #146)
  • Loading branch information
Infocatcher committed Aug 22, 2015
1 parent cc5e06e commit da243f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -1311,8 +1311,10 @@ var privateTab = {
//~ todo: find some way to not copy code from SessionStore.jsm
var {TabState} = Components.utils.import("resource:///modules/sessionstore/TabState.jsm", {});
var tabState = TabState.collect(tab);
if(!tabState.isPrivate)
if(!tabState.isPrivate) {
_log("tabClosingHandler(): tab has private attribute, but TabState.jsm doesn't return isPrivate flag");
return;
}
var {SessionStoreInternal} = Components.utils.import("resource:///modules/sessionstore/SessionStore.jsm", {});
var maxTabsUndo = "_max_tabs_undo" in SessionStoreInternal
? SessionStoreInternal._max_tabs_undo
Expand Down

0 comments on commit da243f9

Please sign in to comment.