summaryrefslogtreecommitdiffstats
path: root/browser/components/newtab/test/unit/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/newtab/test/unit/utils.js')
-rw-r--r--browser/components/newtab/test/unit/utils.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/browser/components/newtab/test/unit/utils.js b/browser/components/newtab/test/unit/utils.js
index 22069b8635..e10a284476 100644
--- a/browser/components/newtab/test/unit/utils.js
+++ b/browser/components/newtab/test/unit/utils.js
@@ -176,7 +176,7 @@ export class FakensIPrefBranch {
prefHasUserValue(prefName) {
return this.prefs.has(prefName);
}
- prefIsLocked(prefName) {
+ prefIsLocked(_prefName) {
return false;
}
}
@@ -187,7 +187,7 @@ export class FakensIPrefBranch {
*/
export class FakensIPrefService extends FakensIPrefBranch {
getBranch() {}
- getDefaultBranch(prefix) {
+ getDefaultBranch(_prefix) {
return {
setBoolPref() {},
setIntPref() {},
@@ -208,8 +208,8 @@ export class FakePrefs extends FakensIPrefBranch {
ignore(prefName, callback) {
super.removeObserver(prefName, callback);
}
- observeBranch(listener) {}
- ignoreBranch(listener) {}
+ observeBranch(_listener) {}
+ ignoreBranch(_listener) {}
set(prefName, value) {
this.prefs.set(prefName, value);
@@ -312,7 +312,7 @@ FakePerformance.prototype = {
return 10000.234;
},
// XXX assumes type == "mark"
- getEntriesByName(name, type) {
+ getEntriesByName(name, _type) {
if (this.marks.has(name)) {
return this.marks.get(name);
}