Bug 1489980 - Enable ESLint for editor/ - Follow-up: Remove unused Ci. r=eslint-fix on a CLOSED TREE
authorAndreea Pavel <apavel@mozilla.com>
Thu, 13 Sep 2018 13:29:24 +0300
changeset 436149 4d081dbefe2f
parent 436148 3aa7f81bfcb5
child 436150 075ad27d064b
push id69216
push userapavel@mozilla.com
push dateThu, 13 Sep 2018 10:30:38 +0000
treeherderautoland@4d081dbefe2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerseslint-fix
bugs1489980
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1489980 - Enable ESLint for editor/ - Follow-up: Remove unused Ci. r=eslint-fix on a CLOSED TREE
editor/spellchecker/tests/test_bug1219928.html
--- a/editor/spellchecker/tests/test_bug1219928.html
+++ b/editor/spellchecker/tests/test_bug1219928.html
@@ -32,17 +32,16 @@ SimpleTest.waitForFocus(function() {
   var onSpellCheck =
     SpecialPowers.Cu.import(
       "resource://testing-common/AsyncSpellCheckTestHelper.jsm", null).onSpellCheck;
 
   var elem = document.getElementById("en-US");
   elem.focus();
 
   onSpellCheck(elem, function() {
-    var Ci = SpecialPowers.Ci;
     var editingSession = SpecialPowers.wrap(window).docShell.editingSession;
     var editor = editingSession.getEditorForWindow(window);
     var selcon = editor.selectionController;
     var sel = selcon.getSelection(selcon.SELECTION_SPELLCHECK);
 
     is(sel.toString(), "missspelled", "one misspelled word expected: missspelled");
 
     spellchecker = SpecialPowers.Cu.createSpellChecker();