diff --git a/tools/wptrunner/wptrunner/browsers/firefox_android.py b/tools/wptrunner/wptrunner/browsers/firefox_android.py index e52f980c529cc4..4df33b1f517f53 100644 --- a/tools/wptrunner/wptrunner/browsers/firefox_android.py +++ b/tools/wptrunner/wptrunner/browsers/firefox_android.py @@ -137,7 +137,10 @@ def get_environ(chaos_mode_flags, env_extras=None): env = {} if env_extras is not None: env.update(env_extras) - env["MINIDUMP_SAVE_PATH"] = os.environ["MINIDUMP_SAVE_PATH"] + + if "MINIDUMP_SAVE_PATH" in os.environ: + env["MINIDUMP_SAVE_PATH"] = os.environ["MINIDUMP_SAVE_PATH"] + env["MOZ_CRASHREPORTER"] = "1" env["MOZ_CRASHREPORTER_SHUTDOWN"] = "1" env["MOZ_DISABLE_NONLOCAL_CONNECTIONS"] = "1"