Bug 1216217 - Make selecting a worker from the debugger's worker list work;r=jlongster

--HG--
extra : commitid : 1rx2Uje7Ikp
This commit is contained in:
Brian Grinstead 2015-10-19 15:27:19 -07:00
Родитель 4f8370bb2f
Коммит cd653f8601
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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);
});
}
};