Bug 1508853 make the search default panel persistent, r=aswan a=jcristau DEVEDITION_64_0b14_BUILD1 DEVEDITION_64_0b14_RELEASE FIREFOX_64_0b14_BUILD1 FIREFOX_64_0b14_RELEASE
authorShane Caraveo <scaraveo@mozilla.com>
Tue, 27 Nov 2018 18:05:59 +0000
changeset 501417 fa72e773a9ebcd6de1c0e0d25e1cb6b07f09b6e8
parent 501416 63ec2966de2035d3799d156c94ef42fed7587bc1
child 501418 cad43b85841f72c7f4472bf810462c522049976b
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaswan, jcristau
bugs1508853
milestone64.0
Bug 1508853 make the search default panel persistent, r=aswan a=jcristau 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,
       };