diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index b04bcde8b95..6a57d64d15d 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -1066,7 +1066,8 @@ b.setAttribute("message", "true"); b.setAttribute("contextmenu", this.getAttribute("contentcontextmenu")); b.setAttribute("tooltip", this.getAttribute("contenttooltip")); - b.setAttribute("autocompletepopup", this.getAttribute("autocompletepopup")); + if (this.hasAttribute("autocompletepopup")) + b.setAttribute("autocompletepopup", this.getAttribute("autocompletepopup")); // Add the Message and the Browser to the box var vbox = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",