diff --git a/tools/wptrunner/wptrunner/browsers/firefox.py b/tools/wptrunner/wptrunner/browsers/firefox.py index 24203fc0199898..f9395ccf8f51ee 100644 --- a/tools/wptrunner/wptrunner/browsers/firefox.py +++ b/tools/wptrunner/wptrunner/browsers/firefox.py @@ -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): diff --git a/tools/wptrunner/wptrunner/browsers/firefox_android.py b/tools/wptrunner/wptrunner/browsers/firefox_android.py index 298b5f27407abd..40a829a55f92c8 100644 --- a/tools/wptrunner/wptrunner/browsers/firefox_android.py +++ b/tools/wptrunner/wptrunner/browsers/firefox_android.py @@ -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):