зеркало из https://github.com/mozilla/gecko-dev.git
Bug 928068 - Story - Don't allow switching to Metro while in private browser mode. r=bbondy
This commit is contained in:
Родитель
a9e7dba8b7
Коммит
f493040f72
|
@ -1679,6 +1679,10 @@ let CustomizableUIInternal = {
|
|||
return null;
|
||||
}
|
||||
|
||||
if (aData.id == "switch-to-metro-button") {
|
||||
widget.showInPrivateBrowsing = false;
|
||||
}
|
||||
|
||||
delete widget.implementation.currentArea;
|
||||
widget.implementation.__defineGetter__("currentArea", function() widget.currentArea);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче