Index: test/stub-modules/prefs.js |
diff --git a/test/stub-modules/prefs.js b/test/stub-modules/prefs.js |
index e9f54573b45e4629c7a39e009bb18cf465ab12a5..2925a1385d4a4bc87b64a299ad363f8f30315286 100644 |
--- a/test/stub-modules/prefs.js |
+++ b/test/stub-modules/prefs.js |
@@ -1,3 +1,5 @@ |
+"use strict"; |
+ |
let listeners = []; |
let Prefs = exports.Prefs = { |
@@ -15,8 +17,11 @@ for (let key of Object.keys(Prefs)) |
{ |
let value = Prefs[key]; |
Object.defineProperty(Prefs, key, { |
- get: () => value, |
- set: newValue => |
+ get() |
+ { |
+ return value; |
+ }, |
+ set(newValue) |
{ |
if (newValue == value) |
return; |