$OpenBSD: patch-toolkit_content_widgets_tabbrowser_xml,v 1.1 2007/03/01 22:46:06 robert Exp $
--- toolkit/content/widgets/tabbrowser.xml.orig	Sun Sep 24 00:27:25 2006
+++ toolkit/content/widgets/tabbrowser.xml	Tue Feb 27 15:05:14 2007
@@ -599,12 +599,13 @@
             // If location bar is hidden and the URL type supports a host,
             // add the scheme and host to the title to prevent spoofing.
             // XXX https://bugzilla.mozilla.org/show_bug.cgi?id=22183#c239
-            // (only for schemes that support a host)
             try {
               if (docElement.getAttribute("chromehidden").indexOf("location") != -1) {
                 var uri = this.mURIFixup.createExposableURI(
                             this.mCurrentBrowser.currentURI);
-                if (uri.host)
+                if (uri.scheme == "about")
+                  newTitle = uri.spec + sep + newTitle;
+                else
                   newTitle = uri.prePath + sep + newTitle;
               }
             } catch (e) {}
