Bug 928068 - Story - Don't allow switching to Metro while in private browser mode. r=bbondy

This commit is contained in:
Marina Samuel 2013-11-19 16:33:37 -05:00
Родитель a9e7dba8b7
Коммит f493040f72
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

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