Bug 1258212 - Hook the parent up to the cild for registerContentHandler. r=gwright, a=ritu
authorBlake Kaplan <mrbkap@gmail.com>
Wed, 27 Apr 2016 15:03:01 -0700
changeset 332639 31c52d84503f2273fe794cfa8ea7e5bcaabc19ee
parent 332638 3f5062c662dab3cda0c88b2d5b2971c729e2e1c3
child 332640 a48ee51d763144e79f666975501c15f0dda7af7c
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgwright, ritu
bugs1258212
milestone48.0a2
Bug 1258212 - Hook the parent up to the cild for registerContentHandler. r=gwright, a=ritu
browser/modules/Feeds.jsm
--- a/browser/modules/Feeds.jsm
+++ b/browser/modules/Feeds.jsm
@@ -15,16 +15,17 @@ XPCOMUtils.defineLazyModuleGetter(this, 
                                   "resource:///modules/RecentWindow.jsm");
 
 const { interfaces: Ci, classes: Cc } = Components;
 
 this.Feeds = {
   init() {
     let mm = Cc["@mozilla.org/globalmessagemanager;1"].getService(Ci.nsIMessageListenerManager);
     mm.addMessageListener("WCCR:registerProtocolHandler", this);
+    mm.addMessageListener("WCCR:registerContentHandler", this);
 
     Services.ppmm.addMessageListener("WCCR:setAutoHandler", this);
     Services.ppmm.addMessageListener("FeedConverter:addLiveBookmark", this);
   },
 
   receiveMessage(aMessage) {
     let data = aMessage.data;
     switch (aMessage.name) {