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:
Alexandre Poirot 2019-03-21 13:28:05 +00:00
Родитель ba49f4de45
Коммит 17c4360455
1 изменённых файлов: 3 добавлений и 5 удалений

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

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