From 17c4360455efe9614c556065e5f7a60d0f1ce49b Mon Sep 17 00:00:00 2001 From: Alexandre Poirot Date: Thu, 21 Mar 2019 13:28:05 +0000 Subject: [PATCH] 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 --- remote/test/browser/chrome-remote-interface.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/remote/test/browser/chrome-remote-interface.js b/remote/test/browser/chrome-remote-interface.js index 1648caaf54c2..56c37fa85c40 100644 --- a/remote/test/browser/chrome-remote-interface.js +++ b/remote/test/browser/chrome-remote-interface.js @@ -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; /***/ }) -/******/ ]); +/******/ ]); \ No newline at end of file