summaryrefslogtreecommitdiffstats
path: root/browser/components/urlbar/UrlbarProviderInterventions.sys.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /browser/components/urlbar/UrlbarProviderInterventions.sys.mjs
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz
firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/urlbar/UrlbarProviderInterventions.sys.mjs')
-rw-r--r--browser/components/urlbar/UrlbarProviderInterventions.sys.mjs7
1 files changed, 2 insertions, 5 deletions
diff --git a/browser/components/urlbar/UrlbarProviderInterventions.sys.mjs b/browser/components/urlbar/UrlbarProviderInterventions.sys.mjs
index a8185b8bea..08b4ea36b7 100644
--- a/browser/components/urlbar/UrlbarProviderInterventions.sys.mjs
+++ b/browser/components/urlbar/UrlbarProviderInterventions.sys.mjs
@@ -544,7 +544,7 @@ class ProviderInterventions extends UrlbarProvider {
);
}
- async _setCurrentTipFromAppUpdaterStatus(waitForCheck) {
+ async _setCurrentTipFromAppUpdaterStatus() {
// The update tips depend on the app's update status, so check for updates
// now (if we haven't already checked within the update-check period). If
// we're running in an xpcshell test, then checkForBrowserUpdate's attempt
@@ -667,11 +667,8 @@ class ProviderInterventions extends UrlbarProvider {
/**
* Cancels a running query,
- *
- * @param {UrlbarQueryContext} queryContext the query context object to cancel
- * query for.
*/
- cancelQuery(queryContext) {
+ cancelQuery() {
// If we're waiting for appUpdater to finish its update check,
// this._appUpdaterListener will be defined. We can stop listening now.
if (this._appUpdaterListener) {