Index: qunit/tests/prefs.js |
=================================================================== |
--- a/qunit/tests/prefs.js |
+++ b/qunit/tests/prefs.js |
@@ -22,28 +22,28 @@ |
Prefs[pref] = this._pbackup[pref]; |
} |
}); |
function checkPrefExists(name, expectedValue, description, assert) |
{ |
let done = assert.async(); |
let key = "pref:" + name; |
- chrome.storage.local.get(key, items => |
+ browser.storage.local.get(key, items => |
{ |
equal(key in items, expectedValue, description); |
done(); |
}); |
} |
function checkPref(name, expectedValue, description, assert) |
{ |
let done = assert.async(); |
let key = "pref:" + name; |
- chrome.storage.local.get(key, items => |
+ browser.storage.local.get(key, items => |
{ |
deepEqual(items[key], expectedValue, description); |
done(); |
}); |
} |
test("Numerical pref", assert => |
{ |