summaryrefslogtreecommitdiffstats
path: root/browser/components/urlbar/UrlbarProviderCalculator.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/urlbar/UrlbarProviderCalculator.sys.mjs')
-rw-r--r--browser/components/urlbar/UrlbarProviderCalculator.sys.mjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/browser/components/urlbar/UrlbarProviderCalculator.sys.mjs b/browser/components/urlbar/UrlbarProviderCalculator.sys.mjs
index 72c64f9646..a55531167c 100644
--- a/browser/components/urlbar/UrlbarProviderCalculator.sys.mjs
+++ b/browser/components/urlbar/UrlbarProviderCalculator.sys.mjs
@@ -157,7 +157,7 @@ class ProviderCalculator extends UrlbarProvider {
return viewUpdate;
}
- onEngagement(state, queryContext, details, controller) {
+ onEngagement(state, queryContext, details) {
let { result } = details;
if (result?.providerName == this.name) {
lazy.ClipboardHelper.copyString(result.payload.value);
@@ -306,7 +306,7 @@ Parser.prototype = {
// This method returns an array of objects with these properties:
// - number: true/false
// - value: the token value
- parse(input) {
+ parse() {
// The input must be a "block" without any digit left.
if (!this._tokenizeBlock() || this._chars.length) {
throw new Error("Wrong input");