зеркало из https://github.com/mozilla/gecko-dev.git
42028efc71
This method only is async in order to allow callers to wait for a process switch triggered by the call to `loadURI` to be finished before resolving. With DocumentChannel, we should never trigger a process switch eagerly like this again, so we don't need any of the async behaviour here anymore. This part is largely mechanical changes to tests, removing the `await` calls on `loadURI`, and a follow-up part will remove the actual async logic from `BrowserTestUtils.loadURI`. Differential Revision: https://phabricator.services.mozilla.com/D94641 |
||
---|---|---|
.. | ||
dom | ||
emulation | ||
input | ||
io | ||
network | ||
page | ||
runtime | ||
security | ||
target | ||
README.md | ||
browser.ini | ||
browser_agent.js | ||
browser_cdp.js | ||
browser_httpd.js | ||
browser_main_target.js | ||
browser_session.js | ||
browser_tabs.js | ||
chrome-remote-interface.js | ||
head.js |
README.md
Update chrome-remote-interface.js
Upstream instructions on https://github.com/cyrus-and/chrome-remote-interface#using-vanilla-javascript:
% git clone https://github.com/cyrus-and/chrome-remote-interface.git
% cd chrome-remote-interface
% npm install
% TARGET=var DEBUG=true npm run webpack
% cp chrome-remote-interface.js ../