Bug 1291737 - Export TabTarget from 'devtools/client/framework/target' module.
MozReview-Commit-ID: D2CeRH74Vg8
--- 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