diff --git a/testing/marionette/puppeteer/firefox/firefox_puppeteer/api/prefs.py b/testing/marionette/puppeteer/firefox/firefox_puppeteer/api/prefs.py index ddd5a8cf53f5..44a2bf78601f 100644 --- a/testing/marionette/puppeteer/firefox/firefox_puppeteer/api/prefs.py +++ b/testing/marionette/puppeteer/firefox/firefox_puppeteer/api/prefs.py @@ -126,7 +126,9 @@ class Preferences(BaseLib): retval = self.marionette.execute_script(""" Components.utils.import("resource://gre/modules/Services.jsm"); - let [pref_name, value, default_branch] = arguments; + let pref_name = arguments[0]; + let value = arguments[1]; + let default_branch = arguments[2]; let prefBranch; if (default_branch) {