Bug 1671609 - [devtools] Remove swapBrowser methods from DevTools transports r=ochameau

Depends on D93819

Differential Revision: https://phabricator.services.mozilla.com/D93820
This commit is contained in:
Julian Descottes 2020-10-20 17:02:31 +00:00
Родитель 134032de33
Коммит 1ba86569a5
2 изменённых файлов: 0 добавлений и 10 удалений

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

@ -118,12 +118,6 @@ ChildDebuggerTransport.prototype = {
startBulkSend: function() { startBulkSend: function() {
throw new Error("Can't send bulk data to child processes."); throw new Error("Can't send bulk data to child processes.");
}, },
swapBrowser(mm) {
this._removeListener();
this._mm = mm;
this._addListener();
},
}; };
exports.ChildDebuggerTransport = ChildDebuggerTransport; exports.ChildDebuggerTransport = ChildDebuggerTransport;

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

@ -54,10 +54,6 @@ class JsWindowActorTransport {
startBulkSend() { startBulkSend() {
throw new Error("startBulkSend not implemented for JsWindowActorTransport"); throw new Error("startBulkSend not implemented for JsWindowActorTransport");
} }
swapBrowser(jsWindowActor) {
throw new Error("swapBrowser not implemented for JsWindowActorTransport");
}
} }
exports.JsWindowActorTransport = JsWindowActorTransport; exports.JsWindowActorTransport = JsWindowActorTransport;