Bug 1291737 - Export TabTarget from 'devtools/client/framework/target' module. draft
authorLuca Greco <lgreco@mozilla.com>
Mon, 05 Sep 2016 14:19:50 +0200
changeset 463728 f9277a6231f63b64b378edeb846f3a89974142dd
parent 463727 f4fe38df8af5001a3857baa2f8ac8a206ec63fee
child 463729 876d9795c390aa7435eb0eb973f4132c814c0eca
push id42159
push userluca.greco@alcacoop.it
push dateThu, 19 Jan 2017 17:57:06 +0000
bugs1291737
milestone53.0a1
Bug 1291737 - Export TabTarget from 'devtools/client/framework/target' module. MozReview-Commit-ID: D2CeRH74Vg8
devtools/client/framework/target.js
--- a/devtools/client/framework/target.js
+++ b/devtools/client/framework/target.js
@@ -138,16 +138,18 @@ function TabTarget(tab) {
   // Default isTabActor to true if not explicitly specified
   if (typeof tab.isTabActor == "boolean") {
     this._isTabActor = tab.isTabActor;
   } else {
     this._isTabActor = true;
   }
 }
 
+exports.TabTarget = TabTarget;
+
 TabTarget.prototype = {
   _webProgressListener: null,
 
   /**
    * Returns a promise for the protocol description from the root actor. Used
    * internally with `target.actorHasMethod`. Takes advantage of caching if
    * definition was fetched previously with the corresponding actor information.
    * Actors are lazily loaded, so not only must the tool using a specific actor