Bug 1119490 - Enable source maps for workers;r=jryans

This commit is contained in:
Eddy Bruel 2016-03-01 14:57:01 +01:00
parent 31b384abb1
commit 4de80e4128
2 changed files with 6 additions and 2 deletions

View File

@ -1450,7 +1450,8 @@ WorkerClient.prototype = {
return this.request({
to: connectReponse.threadActor,
type: "attach"
type: "attach",
options: aOptions
}).then(attachResponse => {
if (attachResponse.error) {
aOnResponse(attachResponse, null);

View File

@ -366,6 +366,7 @@ var loader = {
var {
Debugger,
URL,
createSandbox,
dump,
rpc,
@ -428,6 +429,7 @@ var {
return {
Debugger,
URL: this.URL,
createSandbox,
dump: this.dump,
rpc,
@ -465,6 +467,7 @@ var {
return {
Debugger: this.Debugger,
URL: this.URL,
createSandbox: this.createSandbox,
dump: this.dump,
rpc: this.rpc,
@ -494,7 +497,7 @@ this.worker = new WorkerDebuggerLoader({
"Debugger": Debugger,
"PromiseDebugging": PromiseDebugging,
"Services": Object.create(null),
"URL": null,
"URL": URL,
"chrome": chrome,
"xpcInspector": xpcInspector
},