Bug 1287091 - part 5 - ContextualIdentityService should dispatch 'clear-origin-data' when a container is deleted, r=Gijs

This commit is contained in:
Andrea Marchesini 2016-07-22 16:19:50 +02:00
parent 2809a4efe7
commit 0925e452df

View File

@ -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();