Skip to content

Commit

Permalink
Correctly handle opening of private:… in current non-remote tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Infocatcher committed Aug 12, 2016
1 parent 78ce514 commit a419209
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -1361,6 +1361,14 @@ var privateTab = {
this.setTabState(tab); // Private tab may be restored using our API
return;
}
if(
this.isRemoteTab(tab)
&& tab.linkedBrowser
&& tab.linkedBrowser.currentURI.spec == "about:blank"
) { // Yay, yay, let's take yet another strange trick
_log(e.type + ": about:blank remote tab, looks like this is buggy event (was loaded some URL into non-remote tab?)");
return;
}
var window = tab.ownerDocument.defaultView;
if(
this.isMultiProcessWindow(window) // Just always set...
Expand Down

0 comments on commit a419209

Please sign in to comment.