summaryrefslogtreecommitdiffstats
path: root/browser/components/newtab/AboutNewTabService.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/newtab/AboutNewTabService.sys.mjs')
-rw-r--r--browser/components/newtab/AboutNewTabService.sys.mjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/browser/components/newtab/AboutNewTabService.sys.mjs b/browser/components/newtab/AboutNewTabService.sys.mjs
index e73e1b1880..73502fcb4f 100644
--- a/browser/components/newtab/AboutNewTabService.sys.mjs
+++ b/browser/components/newtab/AboutNewTabService.sys.mjs
@@ -339,7 +339,7 @@ export const AboutHomeStartupCacheChild = {
});
},
- observe(subject, topic, data) {
+ observe(subject, topic) {
if (topic === "memory-pressure" && this._cacheWorker) {
this._cacheWorker.terminate();
this._cacheWorker = null;
@@ -447,7 +447,7 @@ class BaseAboutNewTabService {
return this.defaultURL;
}
- aboutHomeChannel(uri, loadInfo) {
+ aboutHomeChannel() {
throw Components.Exception(
"AboutHomeChannel not implemented for this process.",
Cr.NS_ERROR_NOT_IMPLEMENTED