Bug 1291737 - Export TabTarget from 'devtools/client/framework/target' module. r=ochameau
authorLuca Greco <lgreco@mozilla.com>
Mon, 05 Sep 2016 14:19:50 +0200
changeset 375207 6b78221fc2ab459453ac6609f1cbb950af2e988e
parent 375206 0d88c3c271d2c771b0c2ea6adc22a1ef10cecd63
child 375208 72d47e72ed1a9b995b8c3dd1a2ada4f7039e46eb
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau
bugs1291737
milestone53.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 1291737 - Export TabTarget from 'devtools/client/framework/target' module. r=ochameau 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