зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1216217 - Make selecting a worker from the debugger's worker list work;r=jlongster
--HG-- extra : commitid : 1rx2Uje7Ikp
This commit is contained in:
Родитель
4f8370bb2f
Коммит
cd653f8601
|
@ -480,10 +480,10 @@ Workers.prototype = {
|
|||
this._updateWorkerList();
|
||||
},
|
||||
|
||||
_onWorkerSelect: function (type, workerActor) {
|
||||
_onWorkerSelect: function (workerActor) {
|
||||
DebuggerController.client.attachWorker(workerActor, (response, workerClient) => {
|
||||
gDevTools.showToolbox(devtools.TargetFactory.forWorker(workerClient),
|
||||
"jsdebugger", devtools.Toolbox.HostType.WINDOW);
|
||||
gDevTools.showToolbox(TargetFactory.forWorker(workerClient),
|
||||
"jsdebugger", Toolbox.HostType.WINDOW);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче