diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index 2d457008d79..d6f1389b8f2 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -621,6 +621,8 @@ // Update the URL bar. var loc = this.mCurrentBrowser.currentURI; + if (!loc) + loc = ({ spec: "" }); var webProgress = this.mCurrentBrowser.webProgress; var securityUI = this.mCurrentBrowser.securityUI; @@ -850,7 +852,7 @@