зеркало из https://github.com/mozilla/gecko-dev.git
Bug 925681 - Show identity block and reload icon in awesomebar in Australis' customization mode. ui-r=shorlander, r=Gijs
--HG-- extra : rebase_source : 10b62db55227e317a1bd5c45914619e2f75c94b6
This commit is contained in:
Родитель
026c2cd523
Коммит
fd25fb8af9
|
@ -265,7 +265,6 @@ toolbarpaletteitem > #personal-bookmarks > #bookmarks-toolbar-placeholder,
|
|||
display: -moz-box;
|
||||
}
|
||||
|
||||
#wrapper-urlbar-container > #urlbar-container > #urlbar-wrapper > #urlbar > toolbarbutton,
|
||||
#urlbar-reload-button:not([displaystop]) + #urlbar-stop-button,
|
||||
#urlbar-reload-button[displaystop] {
|
||||
visibility: collapse;
|
||||
|
|
|
@ -6418,10 +6418,10 @@ var gIdentityHandler = {
|
|||
// Chrome URIs however get special treatment. Some chrome URIs are
|
||||
// whitelisted to provide a positive security signal to the user.
|
||||
let chromeWhitelist = ["about:addons", "about:app-manager", "about:config",
|
||||
"about:crashes", "about:healthreport", "about:home",
|
||||
"about:newaddon", "about:permissions", "about:preferences",
|
||||
"about:privatebrowsing", "about:sessionstore",
|
||||
"about:support", "about:welcomeback"];
|
||||
"about:crashes", "about:customizing", "about:healthreport",
|
||||
"about:home", "about:newaddon", "about:permissions",
|
||||
"about:preferences", "about:privatebrowsing",
|
||||
"about:sessionstore", "about:support", "about:welcomeback"];
|
||||
let lowercaseSpec = uri.spec.toLowerCase();
|
||||
if (chromeWhitelist.some(function(whitelistedSpec) lowercaseSpec.startsWith(whitelistedSpec))) {
|
||||
this.setMode(this.IDENTITY_MODE_CHROMEUI);
|
||||
|
|
Загрузка…
Ссылка в новой задаче