Merge remote-tracking branch 'upstream/master' into sdk-mamoth-breakage
This commit is contained in:
@@ -519,6 +519,8 @@ const ContainerService = {
|
||||
// Let's forget all the previous closed tabs.
|
||||
this._forgetIdentity();
|
||||
|
||||
this._resetContainerToCentralIcons();
|
||||
|
||||
const preInstalledIdentities = data.preInstalledIdentities;
|
||||
ContextualIdentityProxy.getIdentities().forEach(identity => {
|
||||
if (!preInstalledIdentities.includes(identity.userContextId)) {
|
||||
@@ -813,8 +815,6 @@ ContainerWindow.prototype = {
|
||||
this._shutdownFileMenu();
|
||||
this._shutdownAllTabsMenu();
|
||||
this._shutdownContextMenu();
|
||||
|
||||
this._shutdownContainers();
|
||||
},
|
||||
|
||||
_shutDownPlusButtonMenuElement(buttonElement) {
|
||||
@@ -877,7 +877,7 @@ ContainerWindow.prototype = {
|
||||
return true;
|
||||
},
|
||||
|
||||
_shutdownContainers() {
|
||||
_resetContainerToCentralIcons() {
|
||||
ContextualIdentityProxy.getIdentities().forEach(identity => {
|
||||
if (IDENTITY_ICONS_STANDARD.indexOf(identity.icon) !== -1 &&
|
||||
IDENTITY_COLORS_STANDARD.indexOf(identity.color) !== -1) {
|
||||
|
||||
Reference in New Issue
Block a user