зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1119490 - Enable source maps for workers;r=jryans
This commit is contained in:
Родитель
4e53be7033
Коммит
508e906b89
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче