summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/NewTabUtils.sys.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /toolkit/modules/NewTabUtils.sys.mjs
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/modules/NewTabUtils.sys.mjs')
-rw-r--r--toolkit/modules/NewTabUtils.sys.mjs8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/modules/NewTabUtils.sys.mjs b/toolkit/modules/NewTabUtils.sys.mjs
index 00067ada12..4fb4c7f912 100644
--- a/toolkit/modules/NewTabUtils.sys.mjs
+++ b/toolkit/modules/NewTabUtils.sys.mjs
@@ -602,12 +602,12 @@ var PlacesProvider = {
}
},
- handleError(aError) {
+ handleError() {
// Should we somehow handle this error?
aCallback([]);
},
- handleCompletion(aReason) {
+ handleCompletion() {
// The Places query breaks ties in frecency by place ID descending, but
// that's different from how Links.compareLinks breaks ties, because
// compareLinks doesn't have access to place IDs. It's very important
@@ -2101,7 +2101,7 @@ var Links = {
* Implements the nsIObserver interface to get notified about browser history
* sanitization.
*/
- observe: function Links_observe(aSubject, aTopic, aData) {
+ observe: function Links_observe() {
// Make sure to update open about:newtab instances. If there are no opened
// pages we can just wait for the next new tab to populate the cache again.
if (AllPages.length && AllPages.enabled) {
@@ -2182,7 +2182,7 @@ var Telemetry = {
/**
* Listens for gather telemetry topic.
*/
- observe: function Telemetry_observe(aSubject, aTopic, aData) {
+ observe: function Telemetry_observe() {
this._collect();
},
};