summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/FinderHighlighter.sys.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /toolkit/modules/FinderHighlighter.sys.mjs
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/modules/FinderHighlighter.sys.mjs')
-rw-r--r--toolkit/modules/FinderHighlighter.sys.mjs10
1 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/modules/FinderHighlighter.sys.mjs b/toolkit/modules/FinderHighlighter.sys.mjs
index 2ebf718bd0..655792e498 100644
--- a/toolkit/modules/FinderHighlighter.sys.mjs
+++ b/toolkit/modules/FinderHighlighter.sys.mjs
@@ -146,7 +146,7 @@ function mockAnonymousContentNode(domNode) {
duration
);
},
- setCutoutRectsForElement(id, rects) {
+ setCutoutRectsForElement() {
// no-op for now.
},
};
@@ -217,7 +217,7 @@ FinderHighlighter.prototype = {
* @param {nsIDOMWindow} window
* @return {Object}
*/
- getForWindow(window, propName = null) {
+ getForWindow(window) {
if (!gWindows.has(window)) {
gWindows.set(window, {
detectedGeometryChange: false,
@@ -661,7 +661,7 @@ FinderHighlighter.prototype = {
this.setScrollMarks(window, Array.from(marks), onHorizontalScrollbar);
if (!this._marksListener) {
- this._marksListener = event => {
+ this._marksListener = () => {
this.updateScrollMarks();
};
@@ -1966,7 +1966,7 @@ FinderHighlighter.prototype = {
// Start of nsIEditActionListener implementations
- WillDeleteText(textNode, offset, length) {
+ WillDeleteText(textNode, offset) {
let editor = this._getEditableNode(textNode).editor;
let controller = editor.selectionController;
let fSelection = controller.getSelection(
@@ -2131,7 +2131,7 @@ FinderHighlighter.prototype = {
},
// Unimplemented
- notifyDocumentStateChanged(aDirty) {},
+ notifyDocumentStateChanged() {},
};
},
};