Skip to content

Commit

Permalink
[WFX-487] Prevent private container removal on channel change. (#2809)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamp01 authored Sep 27, 2022
1 parent 6e6b717 commit ab32010
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions waterfox/browser/components/privatetab/PrivateTab.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ const PrivateTab = {
this.container = ContextualIdentityService._identities.find(
container => container.name == aName
);
if (this.container && this.container.icon == "private") {
ContextualIdentityService.remove(this.container.userContextId);
this.container = undefined;
}
if (!this.container) {
ContextualIdentityService.create(aName, "fingerprint", "purple");
this.container = ContextualIdentityService._identities.find(
Expand Down

0 comments on commit ab32010

Please sign in to comment.