зеркало из https://github.com/mozilla/gecko-dev.git
Bug 515188: secure connection failed dialog appears in addition to error page for some broken https pages, r=gavin
This commit is contained in:
Родитель
11947ff760
Коммит
296c9e1846
|
@ -399,7 +399,10 @@ var BrowserUI = {
|
|||
|
||||
update : function(aState) {
|
||||
let icons = document.getElementById("urlbar-icons");
|
||||
let uri = Browser.selectedBrowser.currentURI;
|
||||
|
||||
// Use documentURIObject in the favicon construction so that we
|
||||
// do the right thing with about:-style error pages. Bug 515188
|
||||
let uri = Browser.selectedBrowser.contentDocument.documentURIObject;
|
||||
|
||||
switch (aState) {
|
||||
case TOOLBARSTATE_LOADED:
|
||||
|
|
Загрузка…
Ссылка в новой задаче