mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 515188: secure connection failed dialog appears in addition to error page for some broken https pages, r=gavin
This commit is contained in:
parent
8cb8940c41
commit
8758d6c73a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user