Bug 515188: secure connection failed dialog appears in addition to error page for some broken https pages, r=gavin

This commit is contained in:
Mark Finkle 2009-09-08 14:14:59 -04:00
parent 8cb8940c41
commit 8758d6c73a

View File

@ -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: