зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
134032de33
Коммит
1ba86569a5
|
@ -118,12 +118,6 @@ ChildDebuggerTransport.prototype = {
|
|||
startBulkSend: function() {
|
||||
throw new Error("Can't send bulk data to child processes.");
|
||||
},
|
||||
|
||||
swapBrowser(mm) {
|
||||
this._removeListener();
|
||||
this._mm = mm;
|
||||
this._addListener();
|
||||
},
|
||||
};
|
||||
|
||||
exports.ChildDebuggerTransport = ChildDebuggerTransport;
|
||||
|
|
|
@ -54,10 +54,6 @@ class JsWindowActorTransport {
|
|||
startBulkSend() {
|
||||
throw new Error("startBulkSend not implemented for JsWindowActorTransport");
|
||||
}
|
||||
|
||||
swapBrowser(jsWindowActor) {
|
||||
throw new Error("swapBrowser not implemented for JsWindowActorTransport");
|
||||
}
|
||||
}
|
||||
|
||||
exports.JsWindowActorTransport = JsWindowActorTransport;
|
||||
|
|
Загрузка…
Ссылка в новой задаче