Bug 1352161 - Fix search engine installation from searchbar. r?florian draft
authorSebastian Hengst <archaeopteryx@coole-files.de>
Fri, 31 Mar 2017 00:27:05 +0200
changeset 553874 47cd8fa0047f5b37220cfd85eb70cb4d267284fb
parent 553822 8df9fabf2587b7020889755acb9e75b664fe13cf
child 622228 96322fd248fcb6a2d1329f2b8df3888493c109e9
push id51814
push userarchaeopteryx@coole-files.de
push dateThu, 30 Mar 2017 22:27:32 +0000
reviewersflorian
bugs1352161
milestone55.0a1
Bug 1352161 - Fix search engine installation from searchbar. r?florian MozReview-Commit-ID: B9JbHknJLC5
browser/components/search/content/search.xml
--- a/browser/components/search/content/search.xml
+++ b/browser/components/search/content/search.xml
@@ -1695,18 +1695,18 @@
           let button = document.createElementNS(kXULNS, eltType);
           button.classList.add("addengine-item");
           button.id = this.telemetryOrigin + "-add-engine-" +
                       this._fixUpEngineNameForID(engine.title);
           let label = this.bundle.formatStringFromName("cmd_addFoundEngine",
                                                        [engine.title], 1);
           button.setAttribute("label", label);
           button.setAttribute("crop", "end");
-          button.setAttribute("tooltiptext", engine.uri);
           button.setAttribute("tooltiptext", engine.title + "\n" + engine.uri);
+          button.setAttribute("uri", engine.uri);
           button.setAttribute("title", engine.title);
           if (engine.icon) {
             button.setAttribute("image", engine.icon);
           }
           if (tooManyEngines) {
             button.classList.add("menuitem-iconic");
           } else {
             button.setAttribute("pack", "start");