summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/NewTabUtils.sys.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
commitdef92d1b8e9d373e2f6f27c366d578d97d8960c6 (patch)
tree2ef34b9ad8bb9a9220e05d60352558b15f513894 /toolkit/modules/NewTabUtils.sys.mjs
parentAdding debian version 125.0.3-1. (diff)
downloadfirefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.tar.xz
firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.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();
},
};