Bug 1286390 - Add sourceMapURL to source actor form. r=jlongster
--- a/devtools/server/actors/source.js
+++ b/devtools/server/actors/source.js
@@ -216,16 +216,17 @@ let SourceActor = ActorClassWithSpec(sou
actor: this.actorID,
generatedUrl: this.generatedSource ? this.generatedSource.url : null,
url: this.url ? this.url.split(" -> ").pop() : null,
addonID: this._addonID,
addonPath: this._addonPath,
isBlackBoxed: this.threadActor.sources.isBlackBoxed(this.url),
isPrettyPrinted: this.threadActor.sources.isPrettyPrinted(this.url),
isSourceMapped: this.isSourceMapped,
+ sourceMapURL: source ? source.sourceMapURL : null,
introductionUrl: introductionUrl ? introductionUrl.split(" -> ").pop() : null,
introductionType: source ? source.introductionType : null
};
},
disconnect: function () {
if (this.registeredPool && this.registeredPool.sourceActors) {
delete this.registeredPool.sourceActors[this.actorID];