Bug 1337964 - SiteDataManager should check correctly if a cookie belongs to a private identity or not, r=aryx, r=gijs

This commit is contained in:
Andrea Marchesini
2017-02-15 13:12:52 +01:00
parent 8c5a1d7423
commit 03364d5e05
10 changed files with 56 additions and 55 deletions

View File

@@ -50,7 +50,7 @@ global.getContainerForCookieStoreId = function(storeId) {
}
let containerId = storeId.substring(CONTAINER_STORE.length);
if (ContextualIdentityService.getIdentityFromId(containerId)) {
if (ContextualIdentityService.getPublicIdentityFromId(containerId)) {
return parseInt(containerId, 10);
}