summaryrefslogtreecommitdiffstats
path: root/toolkit/components/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/gfx')
-rw-r--r--toolkit/components/gfx/SanityTest.sys.mjs2
-rw-r--r--toolkit/components/gfx/content/gfxFrameScript.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/components/gfx/SanityTest.sys.mjs b/toolkit/components/gfx/SanityTest.sys.mjs
index f519735a1a..6fe7c4e0a4 100644
--- a/toolkit/components/gfx/SanityTest.sys.mjs
+++ b/toolkit/components/gfx/SanityTest.sys.mjs
@@ -397,7 +397,7 @@ SanityTest.prototype = {
return true;
},
- observe(subject, topic, data) {
+ observe(subject, topic) {
if (topic != "profile-after-change") {
return;
}
diff --git a/toolkit/components/gfx/content/gfxFrameScript.js b/toolkit/components/gfx/content/gfxFrameScript.js
index c423fb8a2d..0587f2fad7 100644
--- a/toolkit/components/gfx/content/gfxFrameScript.js
+++ b/toolkit/components/gfx/content/gfxFrameScript.js
@@ -45,7 +45,7 @@ const gfxFrameScript = {
return aUri.endsWith("/sanitytest.html");
},
- onStateChange(webProgress, req, flags, status) {
+ onStateChange(webProgress, req, flags) {
if (
webProgress.isTopLevel &&
flags & Ci.nsIWebProgressListener.STATE_STOP &&