From 7a64b67ce6d58feec4aa8159d444ef370e7e6968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kan-Ru=20Chen=20=28=E9=99=B3=E4=BE=83=E5=A6=82=29?= Date: Wed, 12 Nov 2014 14:20:19 +0800 Subject: [PATCH] Bug 1044736 - Part 4.3. Export BrowserElementParent component from BrowserElementParent.js. r=bz,fabrice --- dom/browser-element/BrowserElementParent.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dom/browser-element/BrowserElementParent.js b/dom/browser-element/BrowserElementParent.js index 3784206d33d..acf123d7265 100644 --- a/dom/browser-element/BrowserElementParent.js +++ b/dom/browser-element/BrowserElementParent.js @@ -14,8 +14,6 @@ let Cr = Components.results; * appropriate action here in the parent. */ -this.EXPORTED_SYMBOLS = ["BrowserElementParent"]; - Cu.import("resource://gre/modules/Services.jsm"); Cu.import("resource://gre/modules/XPCOMUtils.jsm"); Cu.import("resource://gre/modules/BrowserElementPromptService.jsm"); @@ -720,7 +718,7 @@ BrowserElementParent.prototype = { this.extListener.onDataAvailable(aRequest, aContext, aInputStream, aOffset, aCount); }, - QueryInterface: XPCOMUtils.generateQI([Ci.nsIStreamListener, + QueryInterface: XPCOMUtils.generateQI([Ci.nsIStreamListener, Ci.nsIRequestObserver]) }; @@ -911,3 +909,5 @@ BrowserElementParent.prototype = { }; }, }; + +this.NSGetFactory = XPCOMUtils.generateNSGetFactory([BrowserElementParent]);