зеркало из https://github.com/mozilla/gecko-dev.git
c193147b7b
By resolving localhost to an actual IP for the httpd.js server allows us to supply unique URLs for the CDP and WebDriver BiDi WebSocket connection details and CDP's JSON handler end-points. Hereby the first resolved IP will be used which should always be the local IPv4 address (127.0.0.1). If IPv4 is disabled `[::1]` will be used. It will prevent issues especially on dualstack systems where DNS resolution might prefer IPv6 over IPv4 (like with node.js > 16). Differential Revision: https://phabricator.services.mozilla.com/D154151 |
||
---|---|---|
.. | ||
client | ||
harness | ||
mach_commands.py | ||
mach_test_package_commands.py | ||
moz.build |