mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
Bug 1287091 - part 5 - ContextualIdentityService should dispatch 'clear-origin-data' when a container is deleted, r=Gijs
This commit is contained in:
parent
2809a4efe7
commit
0925e452df
@ -198,6 +198,9 @@ _ContextualIdentityService.prototype = {
|
||||
return false;
|
||||
}
|
||||
|
||||
Services.obs.notifyObservers(null, "clear-origin-data",
|
||||
JSON.stringify({ userContextId }));
|
||||
|
||||
this._identities.splice(index, 1);
|
||||
this._openedIdentities.delete(userContextId);
|
||||
this.saveSoon();
|
||||
|
Loading…
Reference in New Issue
Block a user