зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1536890 - Remove the workaround in chrome-remote-interface now that remote agent supports websocket handshake. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D24225 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
ba49f4de45
Коммит
17c4360455
|
@ -17422,11 +17422,9 @@ var CDP =
|
|||
this.webSocketUrl = url;
|
||||
// update the connection parameters using the debugging URL
|
||||
urlObject = parseUrl(url);
|
||||
|
||||
// !!! WORKAROUND for misbehaving server
|
||||
// options.host = urlObject.hostname;
|
||||
// options.port = urlObject.port || options.port;
|
||||
|
||||
options.host = urlObject.hostname;
|
||||
options.port = urlObject.port || options.port;
|
||||
// fetch the protocol and prepare the API
|
||||
_context.next = 11;
|
||||
return this._fetchProtocol(options);
|
||||
|
@ -18444,4 +18442,4 @@ var CDP =
|
|||
module.exports.prepare = prepare;
|
||||
|
||||
/***/ })
|
||||
/******/ ]);
|
||||
/******/ ]);
|
Загрузка…
Ссылка в новой задаче