From cf3d9e051e4318cffe4c1cf74163d6ff186369e4 Mon Sep 17 00:00:00 2001 From: James Graham Date: Tue, 10 Apr 2018 14:33:31 +0100 Subject: [PATCH] Bug 1452952 - Fix prefs getter call in wptrunner Firefox executor, r=ato MozReview-Commit-ID: BEU8bpH4CVg --- .../tools/wptrunner/wptrunner/executors/executormarionette.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py b/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py index 60332a6df28d..2cf00e13da9f 100644 --- a/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py +++ b/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py @@ -403,7 +403,7 @@ class MarionetteProtocol(Protocol): self.prefs.set(name, value) for name, value in new_environment.get("prefs", {}).iteritems(): - self.executor.original_pref_values[name] = self.get_pref(name) + self.executor.original_pref_values[name] = self.prefs.get(name) self.prefs.set(name, value)