Bug 1454895 - allow toolbox to call getProcess when debugging a local tab. r=jryans

MozReview-Commit-ID: 19bhk3Wn9qE

--HG--
extra : rebase_source : f0926cbe239059cfd45cd2527db94a7b2106e4a5
This commit is contained in:
Belén Albeza 2018-04-19 17:56:02 +02:00
Родитель b8d83d9bf4
Коммит 21f04c4d9f
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -413,6 +413,8 @@ TabTarget.prototype = {
// to register custom actors.
// TODO: the comment and implementation are out of sync here. See Bug 1420134.
DebuggerServer.registerAllActors();
// Enable being able to get child process actors
DebuggerServer.allowChromeProcess = true;
this._client = new DebuggerClient(DebuggerServer.connectPipe());
// A local TabTarget will never perform chrome debugging.