summaryrefslogtreecommitdiffstats
path: root/toolkit/components/thumbnails/BackgroundPageThumbs.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/thumbnails/BackgroundPageThumbs.sys.mjs')
-rw-r--r--toolkit/components/thumbnails/BackgroundPageThumbs.sys.mjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/components/thumbnails/BackgroundPageThumbs.sys.mjs b/toolkit/components/thumbnails/BackgroundPageThumbs.sys.mjs
index 8467653acb..3040adc6a1 100644
--- a/toolkit/components/thumbnails/BackgroundPageThumbs.sys.mjs
+++ b/toolkit/components/thumbnails/BackgroundPageThumbs.sys.mjs
@@ -219,7 +219,7 @@ export const BackgroundPageThumbs = {
"nsISupportsWeakReference",
]),
};
- this._listener.onStateChange = (wbp, request, stateFlags, status) => {
+ this._listener.onStateChange = (wbp, request, stateFlags) => {
if (!request) {
return;
}
@@ -591,7 +591,7 @@ Capture.prototype = {
this._done(browser, null, TEL_CAPTURE_DONE_BAD_URI);
}
},
- failure => {
+ () => {
// The query can fail when a crash occurs while loading. The error causes
// thumbnail crash tests to fail with an uninteresting error message.
}