Bug 1275165 - notifications.onClicked not being triggered, r=kmag
authorBob Silverberg <bsilverberg@mozilla.com>
Wed, 01 Jun 2016 23:42:04 -0400
changeset 341348 f7b224e544f8a8f163b2792bee6cba2a1c591716
parent 341347 28b383d15b1ade1b36f56beaeadc0eecf26b15de
child 341349 2df25135bcd35611c36666d69626a9e999f6a632
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskmag
bugs1275165
milestone49.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 1275165 - notifications.onClicked not being triggered, r=kmag Change the value of the textClickable argument passed into nsIAlertsService.showAlertNotification to be `true` MozReview-Commit-ID: 7BqwUnt8ZK3
toolkit/components/extensions/ext-notifications.js
--- a/toolkit/components/extensions/ext-notifications.js
+++ b/toolkit/components/extensions/ext-notifications.js
@@ -26,17 +26,17 @@ function Notification(extension, id, opt
     imageURL = this.extension.baseURI.resolve(options.iconUrl);
   }
 
   try {
     let svc = Cc["@mozilla.org/alerts-service;1"].getService(Ci.nsIAlertsService);
     svc.showAlertNotification(imageURL,
                               options.title,
                               options.message,
-                              false, // textClickable
+                              true, // textClickable
                               this.id,
                               this,
                               this.id);
   } catch (e) {
     // This will fail if alerts aren't available on the system.
   }
 }