Bug 1508853 make the search default panel persistent, r=aswan
authorShane Caraveo <scaraveo@mozilla.com>
Tue, 27 Nov 2018 18:05:59 +0000
changeset 507582 d40fbd0c1a779633e1bd1f0c77cfcbb4f9e6e35a
parent 507581 d44189ff5da2f3e8d2a0c24bc81d04523e616aa0
child 507583 e54386a858606c13bd4c7c93426c8bacdab0d7b2
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaswan
bugs1508853
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1508853 make the search default panel persistent, r=aswan This is a quick fix to ensure that the search install panel is shown when an extension uses is_default. The intention is to uplift for 64. Differential Revision: https://phabricator.services.mozilla.com/D13078
browser/modules/ExtensionsUI.jsm
--- a/browser/modules/ExtensionsUI.jsm
+++ b/browser/modules/ExtensionsUI.jsm
@@ -360,17 +360,17 @@ var ExtensionsUI = {
     return promise;
   },
 
   showDefaultSearchPrompt(target, strings, icon) {
     return new Promise(resolve => {
       let popupOptions = {
         hideClose: true,
         popupIconURL: icon || DEFAULT_EXTENSION_ICON,
-        persistent: false,
+        persistent: true,
         removeOnDismissal: true,
         eventCallback(topic) {
           if (topic == "removed") {
             resolve(false);
           }
         },
         name: strings.addonName,
       };