summaryrefslogtreecommitdiffstats
path: root/devtools/client/shared/sourceeditor/test
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/shared/sourceeditor/test')
-rw-r--r--devtools/client/shared/sourceeditor/test/browser_editor_autocomplete_basic.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/devtools/client/shared/sourceeditor/test/browser_editor_autocomplete_basic.js b/devtools/client/shared/sourceeditor/test/browser_editor_autocomplete_basic.js
index c7dc9c8a97..13ab5825c8 100644
--- a/devtools/client/shared/sourceeditor/test/browser_editor_autocomplete_basic.js
+++ b/devtools/client/shared/sourceeditor/test/browser_editor_autocomplete_basic.js
@@ -18,7 +18,7 @@ async function test() {
teardown(ed, win);
}
-function testJS(ed, win) {
+function testJS(ed) {
ok(!ed.getOption("autocomplete"), "Autocompletion is not set");
ed.setMode(Editor.modes.js);
@@ -27,7 +27,7 @@ function testJS(ed, win) {
ok(ed.getOption("autocomplete"), "Autocompletion is set");
}
-function testCSS(ed, win) {
+function testCSS(ed) {
ok(ed.getOption("autocomplete"), "Autocompletion is set");
ed.setMode(Editor.modes.css);
@@ -36,7 +36,7 @@ function testCSS(ed, win) {
ok(ed.getOption("autocomplete"), "Autocompletion is still set");
}
-function testPref(ed, win) {
+function testPref(ed) {
ed.setMode(Editor.modes.js);
ed.setOption("autocomplete", true);