Skip to content

Commit 1bf310a

Browse files
whimboomoz-wptsync-bot
authored andcommitted
[wpt] Update Marionette executor to use "--remote-allow-system-access" argument for Firefox.
Differential Revision: https://phabricator.services.mozilla.com/D241411 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1710425 gecko-commit: c765284053d2d43d86f0cb197d0e55a1ca41bcb6 gecko-reviewers: Sasha
1 parent dfb284f commit 1bf310a

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

Diff for: tools/wptrunner/wptrunner/browsers/firefox.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,8 @@ def start(self):
377377
self.e10s)
378378

379379
args = self.binary_args[:] if self.binary_args else []
380-
args += [cmd_arg("marionette"), "about:blank"]
380+
args += [cmd_arg("marionette"),
381+
cmd_arg("remote-allow-system-access"), "about:blank"]
381382

382383
debug_args, cmd = browser_command(self.binary,
383384
args,

Diff for: tools/wptrunner/wptrunner/browsers/firefox_android.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,12 @@ def start(self, **kwargs):
280280

281281
self.leak_report_file = None
282282

283-
debug_args, cmd = browser_command(self.package_name,
284-
self.binary_args if self.binary_args else [] +
285-
[cmd_arg("marionette"), "about:blank"],
286-
self.debug_info)
283+
args = self.binary_args[:] if self.binary_args else []
284+
args += [cmd_arg("marionette"),
285+
cmd_arg("remote-allow-system-access"), "about:blank"]
286+
287+
debug_args, cmd = browser_command(
288+
self.package_name, args, self.debug_info)
287289

288290
env = get_environ(self.chaos_mode_flags, self.env_extras)
289291

0 commit comments

Comments
 (0)