diff --git a/editor/AsyncSpellCheckTestHelper.sys.mjs b/editor/AsyncSpellCheckTestHelper.sys.mjs
index 6ceb2a86b205..748e54df6603 100644
--- a/editor/AsyncSpellCheckTestHelper.sys.mjs
+++ b/editor/AsyncSpellCheckTestHelper.sys.mjs
@@ -50,7 +50,7 @@ export function maybeOnSpellCheck(editableElement, callback) {
let waitingForEnded = isc && isc.spellCheckPending;
let count = 0;
- function observe(subj, topic, data) {
+ function observe(subj, topic) {
if (subj != editor) {
return;
}
diff --git a/editor/composer/test/test_bug1266815.html b/editor/composer/test/test_bug1266815.html
index 1c565fb2c107..1c0a6d87e182 100644
--- a/editor/composer/test/test_bug1266815.html
+++ b/editor/composer/test/test_bug1266815.html
@@ -41,7 +41,7 @@ var helperAppDlgPromise = new Promise(function(resolve) {
}
HelperAppLauncherDialog.prototype = {
- show(aLauncher, aWindowContext, aReason) {
+ show() {
ok(true, "Whether showing Dialog");
resolve();
registrar.unregisterFactory(MOCK_HELPERAPP_DIALOG_CID,
diff --git a/editor/composer/test/test_bug434998.xhtml b/editor/composer/test/test_bug434998.xhtml
index db2261e3a570..0aad78f1981a 100644
--- a/editor/composer/test/test_bug434998.xhtml
+++ b/editor/composer/test/test_bug434998.xhtml
@@ -44,7 +44,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=434998
QueryInterface: ChromeUtils.generateQI(["nsIWebProgressListener",
"nsISupportsWeakReference"]),
- onStateChange(aWebProgress, aRequest, aStateFlags, aStatus)
+ onStateChange(aWebProgress, aRequest, aStateFlags)
{
if (aStateFlags & Ci.nsIWebProgressListener.STATE_STOP)
{
@@ -65,25 +65,23 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=434998
},
- onProgressChange(aWebProgress, aRequest,
- aCurSelfProgress, aMaxSelfProgress,
- aCurTotalProgress, aMaxTotalProgress)
+ onProgressChange()
{
},
- onLocationChange(aWebProgress, aRequest, aLocation, aFlags)
+ onLocationChange()
{
},
- onStatusChange(aWebProgress, aRequest, aStatus, aMessage)
+ onStatusChange()
{
},
- onSecurityChange(aWebProgress, aRequest, aState)
+ onSecurityChange()
{
},
- onContentBlockingEvent(aWebProgress, aRequest, aEvent)
+ onContentBlockingEvent()
{
},
diff --git a/editor/libeditor/tests/browserscope/test_richtext.html b/editor/libeditor/tests/browserscope/test_richtext.html
index c07f0a366ad0..332252292901 100644
--- a/editor/libeditor/tests/browserscope/test_richtext.html
+++ b/editor/libeditor/tests/browserscope/test_richtext.html
@@ -23,7 +23,7 @@ SimpleTest.waitForExplicitFinish();
// Running all of the tests can take a long time, try to account for it
SimpleTest.requestLongerTimeout(5);
-function sendScore(results, continueParams) {
+function sendScore(results) {
ok(results.length > 1, "At least one test should have been run");
for (var i = 1; i < results.length; ++i) {
var result = results[i];
diff --git a/editor/libeditor/tests/test_bug1053048.html b/editor/libeditor/tests/test_bug1053048.html
index 4f9df5e60227..416d6442d66d 100644
--- a/editor/libeditor/tests/test_bug1053048.html
+++ b/editor/libeditor/tests/test_bug1053048.html
@@ -37,7 +37,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1053048
// synthesizing the key press. So, we don't need to check whether a
// notification actually comes here.
let selectionListener = {
- notifySelectionChanged(aDocument, aSelection, aReason, aAmount) {
+ notifySelectionChanged() {
ok(true, "selectionStart: " + textarea.selectionStart);
ok(true, "selectionEnd: " + textarea.selectionEnd);
},
diff --git a/editor/libeditor/tests/test_bug1649005.html b/editor/libeditor/tests/test_bug1649005.html
index fbd8e16ef82c..5e08e16493ea 100644
--- a/editor/libeditor/tests/test_bug1649005.html
+++ b/editor/libeditor/tests/test_bug1649005.html
@@ -11,7 +11,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1649005