[nodejs] Node.js test server always uses loopback address so we should explicitly exclude it from bypass list, but let's do it in a modern fashion
@@ -100,12 +100,6 @@ test.suite(function(env) {
function createDriver(proxy) {
return driver = env.builder()
- // For Firefox we need to explicitly enable proxies for localhost by
- // clearing the network.proxy.no_proxies_on preference.
- .setFirefoxOptions(
- new firefox.Options()
- .setBinary(firefox.Channel.AURORA)
- .setPreference('network.proxy.no_proxies_on', ''))
.setProxy(proxy)
.build();
}
@@ -115,7 +109,8 @@ test.suite(function(env) {
describe('manual proxy settings', function() {
it('can configure HTTP proxy host', async function() {
await createDriver(proxy.manual({
- http: proxyServer.host()
+ http: proxyServer.host(),
+ bypass: []
}));
await driver.get(helloServer.url());
