Skip to content

Commit

Permalink
[wptrunner] Do not remove "MOZ_DISABLE_NONLOCAL_CONNECTIONS" for wdsp…
Browse files Browse the repository at this point in the history
…ec tests.

Differential Revision: https://phabricator.services.mozilla.com/D186823

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1849972
gecko-commit: d8ac28803dd6c602871499b1fe1858f194f74a5d
gecko-reviewers: jdescottes
  • Loading branch information
whimboo authored and sideshowbarker committed Aug 31, 2023
1 parent aa24f27 commit 05f7563
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions tools/wptrunner/wptrunner/browsers/firefox.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,11 +915,6 @@ def get_env(self, binary, debug_info, headless, chaos_mode_flags):
headless,
chaos_mode_flags)
env["RUST_BACKTRACE"] = "1"
# This doesn't work with wdspec tests
# In particular tests can create a session without passing in the capabilites
# and in those cases we get the default geckodriver profile which doesn't
# guarantee zero network access
del env["MOZ_DISABLE_NONLOCAL_CONNECTIONS"]
return env

def create_output_handler(self, cmd):
Expand Down
1 change: 0 additions & 1 deletion tools/wptrunner/wptrunner/browsers/firefox_android.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ def stop(self, force=False):
def get_env(self, binary, debug_info, headless, chaos_mode_flags):
env = get_environ(chaos_mode_flags)
env["RUST_BACKTRACE"] = "1"
del env["MOZ_DISABLE_NONLOCAL_CONNECTIONS"]
return env

def executor_browser(self):
Expand Down

0 comments on commit 05f7563

Please sign in to comment.