diff --git a/.eslintrc.js b/.eslintrc.js index 0e8176fe0234..0abe6e88cb9b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -45,7 +45,6 @@ module.exports = { "overrides": [{ "files": [ "devtools/**", - "ipc/**", "js/**", "layout/**", "media/**", diff --git a/.prettierignore b/.prettierignore index 7d75b07d6b47..a2ece3a753bf 100644 --- a/.prettierignore +++ b/.prettierignore @@ -40,7 +40,6 @@ toolkit/components/telemetry/datareporting-prefs.js toolkit/components/telemetry/healthreport-prefs.js # Ignore all top-level directories for now. -ipc/** js/** layout/** media/** diff --git a/ipc/testshell/tests/test_ipcshell.js b/ipc/testshell/tests/test_ipcshell.js index a965d622468c..3adbe9513e48 100644 --- a/ipc/testshell/tests/test_ipcshell.js +++ b/ipc/testshell/tests/test_ipcshell.js @@ -15,15 +15,16 @@ function run_test() { sendCommand("runtime.processType;", callback); - [ [ "C", "D" ], [ "D", "C" ], [ "\u010C", "D" ], [ "D", "\u010C" ] ].forEach( - function(pair) { - do_test_pending(); - var cmp = pair[0].localeCompare(pair[1]); - sendCommand( - "'" + pair[0] + "'.localeCompare('" + pair[1] + "');", - function(result) { - Assert.equal(cmp, result); - do_test_finished(); - }); + [["C", "D"], ["D", "C"], ["\u010C", "D"], ["D", "\u010C"]].forEach(function( + pair + ) { + do_test_pending(); + var cmp = pair[0].localeCompare(pair[1]); + sendCommand("'" + pair[0] + "'.localeCompare('" + pair[1] + "');", function( + result + ) { + Assert.equal(cmp, result); + do_test_finished(); }); + }); }