Skip to content

Commit

Permalink
Backed out 2 changesets (bug 1849972) as requested by whimboo CLOSED …
Browse files Browse the repository at this point in the history
…TREE

Backed out changeset d8ac28803dd6 (bug 1849972)
Backed out changeset 57929c2e184a (bug 1849972)

gecko-commit: 24c5f0ac0033f113e83081775c276aa128156462
  • Loading branch information
Norisz Fay authored and moz-wptsync-bot committed Sep 8, 2023
1 parent 6d377da commit 17bd2fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/wptrunner/wptrunner/browsers/firefox.py
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,11 @@ 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: 1 addition & 0 deletions tools/wptrunner/wptrunner/browsers/firefox_android.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ 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 17bd2fa

Please sign in to comment.