Skip to content

Commit

Permalink
Fix Firefox harness with HTTP proxy (#199)
Browse files Browse the repository at this point in the history
./mach web-platform-tests tries to access the tests at
http://web-platform.test/.  If an HTTP proxy is configured, it tries to
access it via the proxy, which fails.  Disabling the proxy entirely
fixes the problem and should probably have no adverse effects, although
a cleaner solution would be to skip proxies only for that domain (as is
done with localhost).
  • Loading branch information
ayg authored and jgraham committed Oct 27, 2016
1 parent b3f03db commit cf08451
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wptrunner/browsers/firefox.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def start(self):
"marionette.defaultPrefs.port": self.marionette_port,
"dom.disable_open_during_load": False,
"network.dns.localDomains": ",".join(hostnames),
"network.proxy.type": 0,
"places.history.enabled": False})
if self.e10s:
self.profile.set_preferences({"browser.tabs.remote.autostart": True})
Expand Down

0 comments on commit cf08451

Please sign in to comment.