Bug 1620556 - comm-central automatic code fixes for Prettier 1.19.1 upgrade. rs=eslint
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Sat, 14 Mar 2020 14:33:11 +0200
changeset 28989 73dac954fb5be34175dfe3fbd36231963b199326
parent 28988 24aae04385e0ae4b1a7c71ff5eaef5248174b51c
child 28990 98aa0bf2e719d22931edfe3e942f66d32ee0e80f
push id17140
push usermkmelin@iki.fi
push dateSat, 14 Mar 2020 12:37:06 +0000
treeherdercomm-central@73dac954fb5b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerseslint
bugs1620556
Bug 1620556 - comm-central automatic code fixes for Prettier 1.19.1 upgrade. rs=eslint
calendar/base/src/CalEvent.jsm
calendar/lightning/content/html-item-editing/react-code.js
calendar/lightning/content/lightning-item-iframe.js
calendar/test/browser/browser_taskDisplay.js
calendar/test/browser/browser_timezones.js
calendar/test/browser/recurrence/browser_daily.js
calendar/test/browser/recurrenceRotated/browser_daily.js
calendar/test/unit/test_itip_utils.js
calendar/test/unit/test_unifinder_utils.js
chat/components/src/test/test_logger.js
chat/modules/test/test_NormalizedMap.js
chat/protocols/irc/test/test_ircMessage.js
chat/protocols/twitter/twitter.jsm
chat/protocols/xmpp/xmpp-session.jsm
mail/base/content/editContactPanel.js
mail/base/content/tabmail.js
mail/base/modules/DBViewWrapper.jsm
mail/components/about-support/content/aboutSupport.js
mail/components/accountcreation/content/util.js
mail/components/extensions/parent/ext-tabs.js
mail/components/im/content/chat-conversation.js
mail/components/im/modules/index_im.jsm
mail/components/test/unit/test_autoconfigUtils.js
mail/components/test/unit/test_telemetry_buildconfig.js
mail/test/browser/folder-display/browser_paneFocus.js
mail/test/browser/quick-filter-bar/browser_filterLogic.js
mailnews/db/gloda/test/unit/test_fts3_tokenizer.js
mailnews/extensions/bayesian-spam-filter/test/unit/test_traits.js
mailnews/mime/jsmime/test/unit/test_header.js
mailnews/mime/jsmime/test/unit/test_header_emitter.js
mailnews/mime/test/unit/test_nsIMsgHeaderParser4.js
mailnews/mime/test/unit/test_nsIMsgHeaderParser5.js
--- a/calendar/base/src/CalEvent.jsm
+++ b/calendar/base/src/CalEvent.jsm
@@ -69,17 +69,20 @@ CalEvent.prototype = {
     // Return a null-duration if we don't have an end date
     return cal.createDuration();
   },
 
   get recurrenceStartDate() {
     return this.startDate;
   },
 
-  icsEventPropMap: [{ cal: "DTSTART", ics: "startTime" }, { cal: "DTEND", ics: "endTime" }],
+  icsEventPropMap: [
+    { cal: "DTSTART", ics: "startTime" },
+    { cal: "DTEND", ics: "endTime" },
+  ],
 
   set icalString(value) {
     this.icalComponent = cal.getIcsService().parseICS(value, null);
   },
 
   get icalString() {
     let calcomp = cal.getIcsService().createIcalComponent("VCALENDAR");
     cal.item.setStaticProps(calcomp);
--- a/calendar/lightning/content/html-item-editing/react-code.js
+++ b/calendar/lightning/content/html-item-editing/react-code.js
@@ -169,17 +169,20 @@ var TopComponent = React.createClass({
       initialPriority: 0,
       initialUrl: "",
       initialShowUrl: false,
       initialCategories: [],
       initialCategoriesList: [],
       initialAttachments: {},
 
       tabs: ["Description", "More", "Reminders", "Attachments", "Attendees"],
-      calendarList: [[0, "Home"], [1, "Work"]],
+      calendarList: [
+        [0, "Home"],
+        [1, "Work"],
+      ],
       privacyList: [
         ["NONE", "Not Specified"],
         ["PUBLIC", "Public Event"],
         ["CONFIDENTIAL", "Show Time and Date Only"],
         ["PRIVATE", "Private Event"],
       ],
       statusList: [
         ["NONE", "Not Specified"],
@@ -189,17 +192,20 @@ var TopComponent = React.createClass({
       ],
       priorityList: [
         // XXX what about other numbers?
         [0, "Not Specified"],
         [9, "Low"],
         [5, "Normal"],
         [1, "High"],
       ],
-      showTimeAsList: [["OPAQUE", true], ["TRANSPARENT", false]],
+      showTimeAsList: [
+        ["OPAQUE", true],
+        ["TRANSPARENT", false],
+      ],
       repeatList: [
         ["none", "Does Not Repeat"],
         ["daily", "Daily"],
         ["weekly", "Weekly"],
         ["every.weekday", "Every Weekday"],
         ["bi.weekly", "Bi-weekly"],
         ["monthly", "Monthly"],
         ["yearly", "Yearly"],
--- a/calendar/lightning/content/lightning-item-iframe.js
+++ b/calendar/lightning/content/lightning-item-iframe.js
@@ -4225,21 +4225,19 @@ function displayCounterProposal() {
     cal.LOG("Unexpected partstat " + partStat + " detected.");
     // we simply reset partStat not display the summary text of the counter box
     // to avoid the window of death
     partStat = null;
   }
 
   if (idCounter > 0) {
     if (partStat && attendeeId.length) {
-      document.getElementById("counter-proposal-summary").value = cal.l10n.getString(
-        "calendar-event-dialog",
-        partStat,
-        [attendeeId]
-      );
+      document.getElementById(
+        "counter-proposal-summary"
+      ).value = cal.l10n.getString("calendar-event-dialog", partStat, [attendeeId]);
       document.getElementById("counter-proposal-summary").removeAttribute("collapsed");
     }
     if (comment) {
       document.getElementById("counter-proposal-comment").value = comment;
       document.getElementById("counter-proposal-box").removeAttribute("collapsed");
     }
     document.getElementById("counter-proposal-box").removeAttribute("collapsed");
 
--- a/calendar/test/browser/browser_taskDisplay.js
+++ b/calendar/test/browser/browser_taskDisplay.js
@@ -46,17 +46,20 @@ add_task(async () => {
     info("Expected: " + expectedTasks.map(task => task.title).join(", "));
     info("Actual: " + actualTasks.map(task => task.title).join(", "));
 
     is(tree.view.rowCount, expectedTasks.length, "Correct number of tasks");
 
     // Although the order of expectedTasks matches the observed behaviour when
     // this test was written, order is NOT checked here. The order of the list
     // is not well defined (particularly when changing the filter text).
-    ok(expectedTasks.every(task => actualTasks.includes(task)), "All expected tasks found");
+    ok(
+      expectedTasks.every(task => actualTasks.includes(task)),
+      "All expected tasks found"
+    );
   }
 
   let today = cal.dtz.now();
   let yesterday = today.clone();
   yesterday.addDuration(cal.createDuration("-P1D"));
   let tomorrow = today.clone();
   tomorrow.addDuration(cal.createDuration("P1D"));
   let later = today.clone();
--- a/calendar/test/browser/browser_timezones.js
+++ b/calendar/test/browser/browser_timezones.js
@@ -50,17 +50,26 @@ add_task(async function testTimezones1_S
   Services.prefs.setStringPref("calendar.timezone.local", "Europe/London");
   await setCalendarView("day");
 });
 
 add_task(async function testTimezones2_CreateEvents() {
   goToDate(controller, 2009, 1, 1);
 
   // Create weekly recurring events in all TIMEZONES.
-  let times = [[4, 30], [5, 0], [3, 0], [3, 0], [9, 0], [14, 0], [19, 45], [1, 30]];
+  let times = [
+    [4, 30],
+    [5, 0],
+    [3, 0],
+    [3, 0],
+    [9, 0],
+    [14, 0],
+    [19, 45],
+    [1, 30],
+  ];
   let time = new Date();
   for (let i = 0; i < TIMEZONES.length; i++) {
     let eventBox = lookupEventBox("day", CANVAS_BOX, null, 1, i + 11);
     await invokeEventDialog(controller, eventBox, async (event, iframe) => {
       time.setHours(times[i][0]);
       time.setMinutes(times[i][1]);
 
       // Set event data.
@@ -77,159 +86,735 @@ add_task(async function testTimezones2_C
       event.click(eventid("button-saveandclose"));
     });
   }
 });
 
 add_task(function testTimezones3_checkStJohns() {
   Services.prefs.setStringPref("calendar.timezone.local", "America/St_Johns");
   let times = [
-    [[4, 30], [5, 30], [6, 30], [7, 30], [8, 30], [9, 30], [10, 30], [11, 30]],
-    [[4, 30], [6, 30], [7, 30], [7, 30], [9, 30], [9, 30], [11, 30], [12, 30]],
-    [[4, 30], [6, 30], [7, 30], [7, 30], [9, 30], [9, 30], [11, 30], [13, 30]],
-    [[4, 30], [6, 30], [7, 30], [7, 30], [9, 30], [9, 30], [11, 30], [13, 30]],
-    [[4, 30], [6, 30], [7, 30], [7, 30], [9, 30], [9, 30], [11, 30], [13, 30]],
-    [[4, 30], [6, 30], [7, 30], [7, 30], [9, 30], [9, 30], [11, 30], [12, 30]],
-    [[4, 30], [6, 30], [7, 30], [7, 30], [9, 30], [10, 30], [11, 30], [12, 30]],
-    [[4, 30], [5, 30], [6, 30], [7, 30], [8, 30], [9, 30], [10, 30], [11, 30]],
+    [
+      [4, 30],
+      [5, 30],
+      [6, 30],
+      [7, 30],
+      [8, 30],
+      [9, 30],
+      [10, 30],
+      [11, 30],
+    ],
+    [
+      [4, 30],
+      [6, 30],
+      [7, 30],
+      [7, 30],
+      [9, 30],
+      [9, 30],
+      [11, 30],
+      [12, 30],
+    ],
+    [
+      [4, 30],
+      [6, 30],
+      [7, 30],
+      [7, 30],
+      [9, 30],
+      [9, 30],
+      [11, 30],
+      [13, 30],
+    ],
+    [
+      [4, 30],
+      [6, 30],
+      [7, 30],
+      [7, 30],
+      [9, 30],
+      [9, 30],
+      [11, 30],
+      [13, 30],
+    ],
+    [
+      [4, 30],
+      [6, 30],
+      [7, 30],
+      [7, 30],
+      [9, 30],
+      [9, 30],
+      [11, 30],
+      [13, 30],
+    ],
+    [
+      [4, 30],
+      [6, 30],
+      [7, 30],
+      [7, 30],
+      [9, 30],
+      [9, 30],
+      [11, 30],
+      [12, 30],
+    ],
+    [
+      [4, 30],
+      [6, 30],
+      [7, 30],
+      [7, 30],
+      [9, 30],
+      [10, 30],
+      [11, 30],
+      [12, 30],
+    ],
+    [
+      [4, 30],
+      [5, 30],
+      [6, 30],
+      [7, 30],
+      [8, 30],
+      [9, 30],
+      [10, 30],
+      [11, 30],
+    ],
   ];
   controller.click(eid("calendar-tab-button"));
   switchToView(controller, "day");
   goToDate(controller, 2009, 1, 1);
 
   verify(DATES, TIMEZONES, times);
 });
 
 add_task(function testTimezones4_checkCaracas() {
   Services.prefs.setStringPref("calendar.timezone.local", "America/Caracas");
   // This is actually incorrect. Venezuela shifted clocks forward 30 minutes
   // in 2016, but our code doesn't handle historical timezones.
   let times = [
-    [[4, 0], [5, 0], [6, 0], [7, 0], [8, 0], [9, 0], [10, 0], [11, 0]],
-    [[3, 0], [5, 0], [6, 0], [6, 0], [8, 0], [8, 0], [10, 0], [11, 0]],
-    [[3, 0], [5, 0], [6, 0], [6, 0], [8, 0], [8, 0], [10, 0], [12, 0]],
-    [[3, 0], [5, 0], [6, 0], [6, 0], [8, 0], [8, 0], [10, 0], [12, 0]],
-    [[3, 0], [5, 0], [6, 0], [6, 0], [8, 0], [8, 0], [10, 0], [12, 0]],
-    [[3, 0], [5, 0], [6, 0], [6, 0], [8, 0], [8, 0], [10, 0], [11, 0]],
-    [[3, 0], [5, 0], [6, 0], [6, 0], [8, 0], [9, 0], [10, 0], [11, 0]],
-    [[4, 0], [5, 0], [6, 0], [7, 0], [8, 0], [9, 0], [10, 0], [11, 0]],
+    [
+      [4, 0],
+      [5, 0],
+      [6, 0],
+      [7, 0],
+      [8, 0],
+      [9, 0],
+      [10, 0],
+      [11, 0],
+    ],
+    [
+      [3, 0],
+      [5, 0],
+      [6, 0],
+      [6, 0],
+      [8, 0],
+      [8, 0],
+      [10, 0],
+      [11, 0],
+    ],
+    [
+      [3, 0],
+      [5, 0],
+      [6, 0],
+      [6, 0],
+      [8, 0],
+      [8, 0],
+      [10, 0],
+      [12, 0],
+    ],
+    [
+      [3, 0],
+      [5, 0],
+      [6, 0],
+      [6, 0],
+      [8, 0],
+      [8, 0],
+      [10, 0],
+      [12, 0],
+    ],
+    [
+      [3, 0],
+      [5, 0],
+      [6, 0],
+      [6, 0],
+      [8, 0],
+      [8, 0],
+      [10, 0],
+      [12, 0],
+    ],
+    [
+      [3, 0],
+      [5, 0],
+      [6, 0],
+      [6, 0],
+      [8, 0],
+      [8, 0],
+      [10, 0],
+      [11, 0],
+    ],
+    [
+      [3, 0],
+      [5, 0],
+      [6, 0],
+      [6, 0],
+      [8, 0],
+      [9, 0],
+      [10, 0],
+      [11, 0],
+    ],
+    [
+      [4, 0],
+      [5, 0],
+      [6, 0],
+      [7, 0],
+      [8, 0],
+      [9, 0],
+      [10, 0],
+      [11, 0],
+    ],
   ];
   controller.click(eid("calendar-tab-button"));
   switchToView(controller, "day");
   goToDate(controller, 2009, 1, 1);
 
   verify(DATES, TIMEZONES, times);
 });
 
 add_task(function testTimezones5_checkPhoenix() {
   Services.prefs.setStringPref("calendar.timezone.local", "America/Phoenix");
   let times = [
-    [[1, 0], [2, 0], [3, 0], [4, 0], [5, 0], [6, 0], [7, 0], [8, 0]],
-    [[0, 0], [2, 0], [3, 0], [3, 0], [5, 0], [5, 0], [7, 0], [8, 0]],
-    [[0, 0], [2, 0], [3, 0], [3, 0], [5, 0], [5, 0], [7, 0], [9, 0]],
-    [[0, 0], [2, 0], [3, 0], [3, 0], [5, 0], [5, 0], [7, 0], [9, 0]],
-    [[0, 0], [2, 0], [3, 0], [3, 0], [5, 0], [5, 0], [7, 0], [9, 0]],
-    [[0, 0], [2, 0], [3, 0], [3, 0], [5, 0], [5, 0], [7, 0], [8, 0]],
-    [[0, 0], [2, 0], [3, 0], [3, 0], [5, 0], [6, 0], [7, 0], [8, 0]],
-    [[1, 0], [2, 0], [3, 0], [4, 0], [5, 0], [6, 0], [7, 0], [8, 0]],
+    [
+      [1, 0],
+      [2, 0],
+      [3, 0],
+      [4, 0],
+      [5, 0],
+      [6, 0],
+      [7, 0],
+      [8, 0],
+    ],
+    [
+      [0, 0],
+      [2, 0],
+      [3, 0],
+      [3, 0],
+      [5, 0],
+      [5, 0],
+      [7, 0],
+      [8, 0],
+    ],
+    [
+      [0, 0],
+      [2, 0],
+      [3, 0],
+      [3, 0],
+      [5, 0],
+      [5, 0],
+      [7, 0],
+      [9, 0],
+    ],
+    [
+      [0, 0],
+      [2, 0],
+      [3, 0],
+      [3, 0],
+      [5, 0],
+      [5, 0],
+      [7, 0],
+      [9, 0],
+    ],
+    [
+      [0, 0],
+      [2, 0],
+      [3, 0],
+      [3, 0],
+      [5, 0],
+      [5, 0],
+      [7, 0],
+      [9, 0],
+    ],
+    [
+      [0, 0],
+      [2, 0],
+      [3, 0],
+      [3, 0],
+      [5, 0],
+      [5, 0],
+      [7, 0],
+      [8, 0],
+    ],
+    [
+      [0, 0],
+      [2, 0],
+      [3, 0],
+      [3, 0],
+      [5, 0],
+      [6, 0],
+      [7, 0],
+      [8, 0],
+    ],
+    [
+      [1, 0],
+      [2, 0],
+      [3, 0],
+      [4, 0],
+      [5, 0],
+      [6, 0],
+      [7, 0],
+      [8, 0],
+    ],
   ];
   controller.click(eid("calendar-tab-button"));
   switchToView(controller, "day");
   goToDate(controller, 2009, 1, 1);
 
   verify(DATES, TIMEZONES, times);
 });
 
 add_task(function testTimezones6_checkLosAngeles() {
   Services.prefs.setStringPref("calendar.timezone.local", "America/Los_Angeles");
   let times = [
-    [[0, 0], [1, 0], [2, 0], [3, 0], [4, 0], [5, 0], [6, 0], [7, 0]],
-    [[0, 0], [2, 0], [3, 0], [3, 0], [5, 0], [5, 0], [7, 0], [8, 0]],
-    [[0, 0], [2, 0], [3, 0], [3, 0], [5, 0], [5, 0], [7, 0], [9, 0]],
-    [[0, 0], [2, 0], [3, 0], [3, 0], [5, 0], [5, 0], [7, 0], [9, 0]],
-    [[0, 0], [2, 0], [3, 0], [3, 0], [5, 0], [5, 0], [7, 0], [9, 0]],
-    [[0, 0], [2, 0], [3, 0], [3, 0], [5, 0], [5, 0], [7, 0], [8, 0]],
-    [[0, 0], [2, 0], [3, 0], [3, 0], [5, 0], [6, 0], [7, 0], [8, 0]],
-    [[0, 0], [1, 0], [2, 0], [3, 0], [4, 0], [5, 0], [6, 0], [7, 0]],
+    [
+      [0, 0],
+      [1, 0],
+      [2, 0],
+      [3, 0],
+      [4, 0],
+      [5, 0],
+      [6, 0],
+      [7, 0],
+    ],
+    [
+      [0, 0],
+      [2, 0],
+      [3, 0],
+      [3, 0],
+      [5, 0],
+      [5, 0],
+      [7, 0],
+      [8, 0],
+    ],
+    [
+      [0, 0],
+      [2, 0],
+      [3, 0],
+      [3, 0],
+      [5, 0],
+      [5, 0],
+      [7, 0],
+      [9, 0],
+    ],
+    [
+      [0, 0],
+      [2, 0],
+      [3, 0],
+      [3, 0],
+      [5, 0],
+      [5, 0],
+      [7, 0],
+      [9, 0],
+    ],
+    [
+      [0, 0],
+      [2, 0],
+      [3, 0],
+      [3, 0],
+      [5, 0],
+      [5, 0],
+      [7, 0],
+      [9, 0],
+    ],
+    [
+      [0, 0],
+      [2, 0],
+      [3, 0],
+      [3, 0],
+      [5, 0],
+      [5, 0],
+      [7, 0],
+      [8, 0],
+    ],
+    [
+      [0, 0],
+      [2, 0],
+      [3, 0],
+      [3, 0],
+      [5, 0],
+      [6, 0],
+      [7, 0],
+      [8, 0],
+    ],
+    [
+      [0, 0],
+      [1, 0],
+      [2, 0],
+      [3, 0],
+      [4, 0],
+      [5, 0],
+      [6, 0],
+      [7, 0],
+    ],
   ];
   controller.click(eid("calendar-tab-button"));
   switchToView(controller, "day");
   goToDate(controller, 2009, 1, 1);
 
   verify(DATES, TIMEZONES, times);
 });
 
 add_task(function testTimezones7_checkBuenosAires() {
   Services.prefs.setStringPref("calendar.timezone.local", "America/Argentina/Buenos_Aires");
   let times = [
-    [[5, 0], [6, 0], [7, 0], [8, 0], [9, 0], [10, 0], [11, 0], [12, 0]],
-    [[4, 0], [6, 0], [7, 0], [7, 0], [9, 0], [9, 0], [11, 0], [12, 0]],
-    [[4, 0], [6, 0], [7, 0], [7, 0], [9, 0], [9, 0], [11, 0], [13, 0]],
-    [[4, 0], [6, 0], [7, 0], [7, 0], [9, 0], [9, 0], [11, 0], [13, 0]],
-    [[4, 0], [6, 0], [7, 0], [7, 0], [9, 0], [9, 0], [11, 0], [13, 0]],
-    [[4, 0], [6, 0], [7, 0], [7, 0], [9, 0], [9, 0], [11, 0], [12, 0]],
-    [[4, 0], [6, 0], [7, 0], [7, 0], [9, 0], [10, 0], [11, 0], [12, 0]],
-    [[5, 0], [6, 0], [7, 0], [8, 0], [9, 0], [10, 0], [11, 0], [12, 0]],
+    [
+      [5, 0],
+      [6, 0],
+      [7, 0],
+      [8, 0],
+      [9, 0],
+      [10, 0],
+      [11, 0],
+      [12, 0],
+    ],
+    [
+      [4, 0],
+      [6, 0],
+      [7, 0],
+      [7, 0],
+      [9, 0],
+      [9, 0],
+      [11, 0],
+      [12, 0],
+    ],
+    [
+      [4, 0],
+      [6, 0],
+      [7, 0],
+      [7, 0],
+      [9, 0],
+      [9, 0],
+      [11, 0],
+      [13, 0],
+    ],
+    [
+      [4, 0],
+      [6, 0],
+      [7, 0],
+      [7, 0],
+      [9, 0],
+      [9, 0],
+      [11, 0],
+      [13, 0],
+    ],
+    [
+      [4, 0],
+      [6, 0],
+      [7, 0],
+      [7, 0],
+      [9, 0],
+      [9, 0],
+      [11, 0],
+      [13, 0],
+    ],
+    [
+      [4, 0],
+      [6, 0],
+      [7, 0],
+      [7, 0],
+      [9, 0],
+      [9, 0],
+      [11, 0],
+      [12, 0],
+    ],
+    [
+      [4, 0],
+      [6, 0],
+      [7, 0],
+      [7, 0],
+      [9, 0],
+      [10, 0],
+      [11, 0],
+      [12, 0],
+    ],
+    [
+      [5, 0],
+      [6, 0],
+      [7, 0],
+      [8, 0],
+      [9, 0],
+      [10, 0],
+      [11, 0],
+      [12, 0],
+    ],
   ];
   controller.click(eid("calendar-tab-button"));
   switchToView(controller, "day");
   goToDate(controller, 2009, 1, 1);
 
   verify(DATES, TIMEZONES, times);
 });
 
 add_task(function testTimezones8_checkParis() {
   Services.prefs.setStringPref("calendar.timezone.local", "Europe/Paris");
   let times = [
-    [[9, 0], [10, 0], [11, 0], [12, 0], [13, 0], [14, 0], [15, 0], [16, 0]],
-    [[9, 0], [11, 0], [12, 0], [12, 0], [14, 0], [14, 0], [16, 0], [17, 0]],
-    [[9, 0], [11, 0], [12, 0], [12, 0], [14, 0], [14, 0], [16, 0], [18, 0]],
-    [[9, 0], [11, 0], [12, 0], [12, 0], [14, 0], [14, 0], [16, 0], [18, 0]],
-    [[9, 0], [11, 0], [12, 0], [12, 0], [14, 0], [14, 0], [16, 0], [18, 0]],
-    [[9, 0], [11, 0], [12, 0], [12, 0], [14, 0], [14, 0], [16, 0], [17, 0]],
-    [[8, 0], [10, 0], [11, 0], [11, 0], [13, 0], [14, 0], [15, 0], [16, 0]],
-    [[9, 0], [10, 0], [11, 0], [12, 0], [13, 0], [14, 0], [15, 0], [16, 0]],
+    [
+      [9, 0],
+      [10, 0],
+      [11, 0],
+      [12, 0],
+      [13, 0],
+      [14, 0],
+      [15, 0],
+      [16, 0],
+    ],
+    [
+      [9, 0],
+      [11, 0],
+      [12, 0],
+      [12, 0],
+      [14, 0],
+      [14, 0],
+      [16, 0],
+      [17, 0],
+    ],
+    [
+      [9, 0],
+      [11, 0],
+      [12, 0],
+      [12, 0],
+      [14, 0],
+      [14, 0],
+      [16, 0],
+      [18, 0],
+    ],
+    [
+      [9, 0],
+      [11, 0],
+      [12, 0],
+      [12, 0],
+      [14, 0],
+      [14, 0],
+      [16, 0],
+      [18, 0],
+    ],
+    [
+      [9, 0],
+      [11, 0],
+      [12, 0],
+      [12, 0],
+      [14, 0],
+      [14, 0],
+      [16, 0],
+      [18, 0],
+    ],
+    [
+      [9, 0],
+      [11, 0],
+      [12, 0],
+      [12, 0],
+      [14, 0],
+      [14, 0],
+      [16, 0],
+      [17, 0],
+    ],
+    [
+      [8, 0],
+      [10, 0],
+      [11, 0],
+      [11, 0],
+      [13, 0],
+      [14, 0],
+      [15, 0],
+      [16, 0],
+    ],
+    [
+      [9, 0],
+      [10, 0],
+      [11, 0],
+      [12, 0],
+      [13, 0],
+      [14, 0],
+      [15, 0],
+      [16, 0],
+    ],
   ];
   controller.click(eid("calendar-tab-button"));
   switchToView(controller, "day");
   goToDate(controller, 2009, 1, 1);
 
   verify(DATES, TIMEZONES, times);
 });
 
 add_task(function testTimezones9_checkKathmandu() {
   Services.prefs.setStringPref("calendar.timezone.local", "Asia/Kathmandu");
   let times = [
-    [[13, 45], [14, 45], [15, 45], [16, 45], [17, 45], [18, 45], [19, 45], [20, 45]],
-    [[12, 45], [14, 45], [15, 45], [15, 45], [17, 45], [17, 45], [19, 45], [20, 45]],
-    [[12, 45], [14, 45], [15, 45], [15, 45], [17, 45], [17, 45], [19, 45], [21, 45]],
-    [[12, 45], [14, 45], [15, 45], [15, 45], [17, 45], [17, 45], [19, 45], [21, 45]],
-    [[12, 45], [14, 45], [15, 45], [15, 45], [17, 45], [17, 45], [19, 45], [21, 45]],
-    [[12, 45], [14, 45], [15, 45], [15, 45], [17, 45], [17, 45], [19, 45], [20, 45]],
-    [[12, 45], [14, 45], [15, 45], [15, 45], [17, 45], [18, 45], [19, 45], [20, 45]],
-    [[13, 45], [14, 45], [15, 45], [16, 45], [17, 45], [18, 45], [19, 45], [20, 45]],
+    [
+      [13, 45],
+      [14, 45],
+      [15, 45],
+      [16, 45],
+      [17, 45],
+      [18, 45],
+      [19, 45],
+      [20, 45],
+    ],
+    [
+      [12, 45],
+      [14, 45],
+      [15, 45],
+      [15, 45],
+      [17, 45],
+      [17, 45],
+      [19, 45],
+      [20, 45],
+    ],
+    [
+      [12, 45],
+      [14, 45],
+      [15, 45],
+      [15, 45],
+      [17, 45],
+      [17, 45],
+      [19, 45],
+      [21, 45],
+    ],
+    [
+      [12, 45],
+      [14, 45],
+      [15, 45],
+      [15, 45],
+      [17, 45],
+      [17, 45],
+      [19, 45],
+      [21, 45],
+    ],
+    [
+      [12, 45],
+      [14, 45],
+      [15, 45],
+      [15, 45],
+      [17, 45],
+      [17, 45],
+      [19, 45],
+      [21, 45],
+    ],
+    [
+      [12, 45],
+      [14, 45],
+      [15, 45],
+      [15, 45],
+      [17, 45],
+      [17, 45],
+      [19, 45],
+      [20, 45],
+    ],
+    [
+      [12, 45],
+      [14, 45],
+      [15, 45],
+      [15, 45],
+      [17, 45],
+      [18, 45],
+      [19, 45],
+      [20, 45],
+    ],
+    [
+      [13, 45],
+      [14, 45],
+      [15, 45],
+      [16, 45],
+      [17, 45],
+      [18, 45],
+      [19, 45],
+      [20, 45],
+    ],
   ];
   controller.click(eid("calendar-tab-button"));
   switchToView(controller, "day");
   goToDate(controller, 2009, 1, 1);
 
   verify(DATES, TIMEZONES, times);
 });
 
 add_task(function testTimezones10_checkAdelaide() {
   Services.prefs.setStringPref("calendar.timezone.local", "Australia/Adelaide");
   let times = [
-    [[18, 30], [19, 30], [20, 30], [21, 30], [22, 30], [23, 30], [0, 30, +1], [1, 30, +1]],
-    [[17, 30], [19, 30], [20, 30], [20, 30], [22, 30], [22, 30], [0, 30, +1], [1, 30, +1]],
-    [[16, 30], [18, 30], [19, 30], [19, 30], [21, 30], [21, 30], [23, 30], [1, 30, +1]],
-    [[16, 30], [18, 30], [19, 30], [19, 30], [21, 30], [21, 30], [23, 30], [1, 30, +1]],
-    [[16, 30], [18, 30], [19, 30], [19, 30], [21, 30], [21, 30], [23, 30], [1, 30, +1]],
-    [[17, 30], [19, 30], [20, 30], [20, 30], [22, 30], [22, 30], [0, 30, +1], [1, 30, +1]],
-    [[17, 30], [19, 30], [20, 30], [20, 30], [22, 30], [23, 30], [0, 30, +1], [1, 30, +1]],
-    [[18, 30], [19, 30], [20, 30], [21, 30], [22, 30], [23, 30], [0, 30, +1], [1, 30, +1]],
+    [
+      [18, 30],
+      [19, 30],
+      [20, 30],
+      [21, 30],
+      [22, 30],
+      [23, 30],
+      [0, 30, +1],
+      [1, 30, +1],
+    ],
+    [
+      [17, 30],
+      [19, 30],
+      [20, 30],
+      [20, 30],
+      [22, 30],
+      [22, 30],
+      [0, 30, +1],
+      [1, 30, +1],
+    ],
+    [
+      [16, 30],
+      [18, 30],
+      [19, 30],
+      [19, 30],
+      [21, 30],
+      [21, 30],
+      [23, 30],
+      [1, 30, +1],
+    ],
+    [
+      [16, 30],
+      [18, 30],
+      [19, 30],
+      [19, 30],
+      [21, 30],
+      [21, 30],
+      [23, 30],
+      [1, 30, +1],
+    ],
+    [
+      [16, 30],
+      [18, 30],
+      [19, 30],
+      [19, 30],
+      [21, 30],
+      [21, 30],
+      [23, 30],
+      [1, 30, +1],
+    ],
+    [
+      [17, 30],
+      [19, 30],
+      [20, 30],
+      [20, 30],
+      [22, 30],
+      [22, 30],
+      [0, 30, +1],
+      [1, 30, +1],
+    ],
+    [
+      [17, 30],
+      [19, 30],
+      [20, 30],
+      [20, 30],
+      [22, 30],
+      [23, 30],
+      [0, 30, +1],
+      [1, 30, +1],
+    ],
+    [
+      [18, 30],
+      [19, 30],
+      [20, 30],
+      [21, 30],
+      [22, 30],
+      [23, 30],
+      [0, 30, +1],
+      [1, 30, +1],
+    ],
   ];
   controller.click(eid("calendar-tab-button"));
   switchToView(controller, "day");
   goToDate(controller, 2009, 1, 1);
 
   verify(DATES, TIMEZONES, times);
 });
 
--- a/calendar/test/browser/recurrence/browser_daily.js
+++ b/calendar/test/browser/recurrence/browser_daily.js
@@ -122,17 +122,20 @@ add_task(async function testDailyRecurre
 
     menulistSelect(eventid("item-repeat"), "every.weekday", event);
     eventsleep();
     event.click(eventid("button-saveandclose"));
   });
 
   // Check day view for 7 days.
   let day = lookupEventBox("day", EVENT_BOX, null, 1, null, EVENTPATH);
-  let dates = [[2009, 1, 3], [2009, 1, 4]];
+  let dates = [
+    [2009, 1, 3],
+    [2009, 1, 4],
+  ];
   for (let [y, m, d] of dates) {
     goToDate(controller, y, m, d);
     controller.assertNodeNotExist(day);
   }
 
   // Check week view for 2 weeks.
   switchToView(controller, "week");
   goToDate(controller, 2009, 1, 1);
--- a/calendar/test/browser/recurrenceRotated/browser_daily.js
+++ b/calendar/test/browser/recurrenceRotated/browser_daily.js
@@ -130,17 +130,20 @@ add_task(async function testDailyRecurre
 
     menulistSelect(eventid("item-repeat"), "every.weekday", event);
     eventsleep();
     event.click(eventid("button-saveandclose"));
   });
 
   // Check day view for 7 days.
   let day = lookupEventBox("day", EVENT_BOX, null, 1, null, EVENTPATH);
-  let dates = [[2009, 1, 3], [2009, 1, 4]];
+  let dates = [
+    [2009, 1, 3],
+    [2009, 1, 4],
+  ];
   for (let [y, m, d] of dates) {
     goToDate(controller, y, m, d);
     controller.assertNodeNotExist(day);
   }
 
   // Check week view for 2 weeks.
   switchToView(controller, "week");
   goToDate(controller, 2009, 1, 1);
--- a/calendar/test/unit/test_itip_utils.js
+++ b/calendar/test/unit/test_itip_utils.js
@@ -541,18 +541,24 @@ function test_getAttendeesBySender() {
         attendee.setProperty("SENT-BY", att.sentBy);
       }
       attendees.push(attendee);
     }
     let detected = [];
     cal.itip.getAttendeesBySender(attendees, test.input.sender).forEach(att => {
       detected.push(att.id);
     });
-    ok(detected.every(aId => test.expected.includes(aId)), "(test #" + i + " ok1)");
-    ok(test.expected.every(aId => detected.includes(aId)), "(test #" + i + " ok2)");
+    ok(
+      detected.every(aId => test.expected.includes(aId)),
+      "(test #" + i + " ok1)"
+    );
+    ok(
+      test.expected.every(aId => detected.includes(aId)),
+      "(test #" + i + " ok2)"
+    );
   }
 }
 
 function test_resolveDelegation() {
   let data = [
     {
       input: {
         attendee:
--- a/calendar/test/unit/test_unifinder_utils.js
+++ b/calendar/test/unit/test_unifinder_utils.js
@@ -64,53 +64,63 @@ function test_sort_items() {
     return cal.createEvent(dedent`
             BEGIN:VEVENT
             SUMMARY:${summary}
             END:VEVENT
         `);
   });
 
   cal.unifinder.sortItems(items, "title", 1);
-  deepEqual(items.map(item => item.title), ["a", "b", null]);
+  deepEqual(
+    items.map(item => item.title),
+    ["a", "b", null]
+  );
 
   cal.unifinder.sortItems(items, "title", -1);
-  deepEqual(items.map(item => item.title), [null, "b", "a"]);
+  deepEqual(
+    items.map(item => item.title),
+    [null, "b", "a"]
+  );
 
   // date comparison
   let dates = ["20180101T000002Z", "20180101T000000Z", "20180101T000001Z"];
   items = dates.map(date => {
     return cal.createEvent(dedent`
             BEGIN:VEVENT
             DTSTART:${date}
             END:VEVENT
         `);
   });
 
   cal.unifinder.sortItems(items, "startDate", 1);
-  deepEqual(items.map(item => item.startDate.icalString), [
-    "20180101T000000Z",
-    "20180101T000001Z",
-    "20180101T000002Z",
-  ]);
+  deepEqual(
+    items.map(item => item.startDate.icalString),
+    ["20180101T000000Z", "20180101T000001Z", "20180101T000002Z"]
+  );
 
   cal.unifinder.sortItems(items, "startDate", -1);
-  deepEqual(items.map(item => item.startDate.icalString), [
-    "20180101T000002Z",
-    "20180101T000001Z",
-    "20180101T000000Z",
-  ]);
+  deepEqual(
+    items.map(item => item.startDate.icalString),
+    ["20180101T000002Z", "20180101T000001Z", "20180101T000000Z"]
+  );
 
   // number comparison
   let percents = [3, 1, 2];
   items = percents.map(percent => {
     return cal.createTodo(dedent`
             BEGIN:VTODO
             PERCENT-COMPLETE:${percent}
             END:VTODO
         `);
   });
 
   cal.unifinder.sortItems(items, "percentComplete", 1);
-  deepEqual(items.map(item => item.percentComplete), [1, 2, 3]);
+  deepEqual(
+    items.map(item => item.percentComplete),
+    [1, 2, 3]
+  );
 
   cal.unifinder.sortItems(items, "percentComplete", -1);
-  deepEqual(items.map(item => item.percentComplete), [3, 2, 1]);
+  deepEqual(
+    items.map(item => item.percentComplete),
+    [3, 2, 1]
+  );
 }
--- a/chat/components/src/test/test_logger.js
+++ b/chat/components/src/test/test_logger.js
@@ -190,17 +190,20 @@ var test_queueFileOperation = async func
   equal(gFP.get("path1"), p1);
   await p1;
   ok(!gFP.has("path1"));
 
   // Repeat above test for a rejected promise.
   let p2 = qFO("path2", dummyRejectedOperation);
   equal(gFP.get("path2"), p2);
   // This should throw since p2 rejected. Drop the error.
-  await p2.then(() => do_throw(), () => {});
+  await p2.then(
+    () => do_throw(),
+    () => {}
+  );
   ok(!gFP.has("path2"));
 
   let onPromiseComplete = (aPromise, aHandler) => {
     return aPromise.then(aHandler, aHandler);
   };
   let test_queueOrder = aOperation => {
     let promise = qFO("queueOrderPath", aOperation);
     let firstOperationComplete = false;
--- a/chat/modules/test/test_NormalizedMap.js
+++ b/chat/modules/test/test_NormalizedMap.js
@@ -22,17 +22,20 @@ function test_setter_getter() {
   Assert.equal(values[1], "blah");
 
   Assert.equal(m.size, 2);
 
   run_next_test();
 }
 
 function test_constructor() {
-  let k = new NormalizedMap(aStr => aStr.toLowerCase(), [["A", 2], ["b", 3]]);
+  let k = new NormalizedMap(aStr => aStr.toLowerCase(), [
+    ["A", 2],
+    ["b", 3],
+  ]);
   Assert.equal(k.get("b"), 3);
   Assert.equal(k.get("a"), 2);
   Assert.equal(k.get("B"), 3);
   Assert.equal(k.get("A"), 2);
 
   run_next_test();
 }
 
--- a/chat/protocols/irc/test/test_ircMessage.js
+++ b/chat/protocols/irc/test/test_ircMessage.js
@@ -303,17 +303,21 @@ function testTags() {
     },
     "@c;h=;a=b :quux ab cd": {
       rawMessage: "@c;h=;a=b :quux ab cd",
       command: "ab",
       params: ["cd"],
       origin: "quux",
       user: undefined,
       host: undefined,
-      tags: new Map([["c", undefined], ["h", ""], ["a", "b"]]),
+      tags: new Map([
+        ["c", undefined],
+        ["h", ""],
+        ["a", "b"],
+      ]),
       source: "",
     },
     "@time=2012-06-30T23:59:60.419Z :John!~john@1.2.3.4 JOIN #chan": {
       rawMessage:
         "@time=2012-06-30T23:59:60.419Z :John!~john@1.2.3.4 JOIN #chan",
       command: "JOIN",
       params: ["#chan"],
       origin: "John",
--- a/chat/protocols/twitter/twitter.jsm
+++ b/chat/protocols/twitter/twitter.jsm
@@ -792,17 +792,20 @@ Account.prototype = {
     let url = "1.1/statuses/retweet/" + aTweet.id_str + ".json";
     this.signAndSend(url, null, [], aOnSent, aOnError, aThis);
   },
   destroy(aTweet, aOnSent, aOnError, aThis) {
     let url = "1.1/statuses/destroy/" + aTweet.id_str + ".json";
     this.signAndSend(url, null, [], aOnSent, aOnError, aThis);
   },
   directMessage(aMsg, aName, aOnSent, aOnError, aThis) {
-    let POSTData = [["text", aMsg], ["screen_name", aName]];
+    let POSTData = [
+      ["text", aMsg],
+      ["screen_name", aName],
+    ];
     this.signAndSend(
       "1.1/direct_messages/new.json",
       null,
       POSTData,
       aOnSent,
       aOnError,
       aThis
     );
--- a/chat/protocols/xmpp/xmpp-session.jsm
+++ b/chat/protocols/xmpp/xmpp-session.jsm
@@ -61,18 +61,18 @@ function XMPPSession(aHost, aPort, aSecu
   this._account.reportConnecting();
 
   // The User has specified a certain server or port, so we should not do
   // DNS SRV lookup or the preference of disabling DNS SRV part and use
   // normal connect is set.
   // RFC 6120 (Section 3.2.3): When Not to Use SRV.
   if (
     Services.prefs.getBoolPref("chat.dns.srv.disable") ||
-    (this._account.prefs.prefHasUserValue("server") ||
-      this._account.prefs.prefHasUserValue("port"))
+    this._account.prefs.prefHasUserValue("server") ||
+    this._account.prefs.prefHasUserValue("port")
   ) {
     this.connect(this._host, this._port, this._security);
     return;
   }
 
   // RFC 6120 (Section 3.2.1): SRV lookup.
   this._account.reportConnecting(_("connection.srvLookup"));
   DNS.srv("_xmpp-client._tcp." + this._host)
--- a/mail/base/content/editContactPanel.js
+++ b/mail/base/content/editContactPanel.js
@@ -70,17 +70,17 @@ var editContactInlineUI = {
     if (aEvent.keyCode == KeyEvent.DOM_VK_RETURN) {
       if (!aEvent.target.hasAttribute("oncommand")) {
         this.saveChanges();
       }
       return;
     }
 
     // Only handle the read-only cases here.
-    if (aHandleOnlyReadOnly && (this._writeable && !aEvent.target.readOnly)) {
+    if (aHandleOnlyReadOnly && this._writeable && !aEvent.target.readOnly) {
       return;
     }
 
     // Any other character and we prevent the default, this stops us doing
     // things in the main message window.
     if (aEvent.charCode) {
       aEvent.preventDefault();
     }
--- a/mail/base/content/tabmail.js
+++ b/mail/base/content/tabmail.js
@@ -834,17 +834,17 @@
             if (browser && !("permanentKey" in browser)) {
               // The permanentKey property is a unique Object, thus allowing this
               // browser to be stored in a WeakMap.
               // Use the JSM global to create the permanentKey, so that if the
               // permanentKey is held by something after this window closes, it
               // doesn't keep the window alive.
               browser.permanentKey = new (Cu.getGlobalForObject(
                 Services
-              )).Object();
+              ).Object)();
             }
             return browser;
           },
         };
 
         firstTab.mode.tabs.push(firstTab);
         this.tabInfo[0] = this.currentTabInfo = firstTab;
         let tabOpenFirstFunc =
--- a/mail/base/modules/DBViewWrapper.jsm
+++ b/mail/base/modules/DBViewWrapper.jsm
@@ -1397,18 +1397,18 @@ DBViewWrapper.prototype = {
     let setViewFlags = true;
     let reSort = false;
     let oldFlags = this.dbView.viewFlags;
     let changedFlags = oldFlags ^ aViewFlags;
 
     if (this.isVirtual) {
       if (
         this.isMultiFolder &&
-        (changedFlags & Ci.nsMsgViewFlagsType.kThreadedDisplay &&
-          !(changedFlags & Ci.nsMsgViewFlagsType.kGroupBySort))
+        changedFlags & Ci.nsMsgViewFlagsType.kThreadedDisplay &&
+        !(changedFlags & Ci.nsMsgViewFlagsType.kGroupBySort)
       ) {
         reSort = true;
       }
       if (this.isSingleFolder) {
         // ugh, and the single folder case needs us to re-apply his sort...
         reSort = true;
       }
     } else {
--- a/mail/components/about-support/content/aboutSupport.js
+++ b/mail/components/about-support/content/aboutSupport.js
@@ -620,21 +620,23 @@ var snapshotFormatters = {
     delete data.windowUsingAdvancedLayers;
 
     addRow(
       "features",
       "asyncPanZoom",
       apzInfo.length
         ? [
             new Text(
-              (await document.l10n.formatValues(
-                apzInfo.map(id => {
-                  return { id };
-                })
-              )).join("; ")
+              (
+                await document.l10n.formatValues(
+                  apzInfo.map(id => {
+                    return { id };
+                  })
+                )
+              ).join("; ")
             ),
           ]
         : "apz-none"
     );
     let featureKeys = [
       "webgl1WSIInfo",
       "webgl1Renderer",
       "webgl1Version",
--- a/mail/components/accountcreation/content/util.js
+++ b/mail/components/accountcreation/content/util.js
@@ -482,17 +482,20 @@ function PriorityOrderAbortable(successC
         console.error(e);
         // If the handler failed with this data, treat this call as failed.
         call.e = e;
         call.succeeded = false;
       }
     }
     if (!this._successfulCall) {
       // all failed
-      errorCallback(this._calls[0].e, this._calls.map(call => call.e)); // see docs above
+      errorCallback(
+        this._calls[0].e,
+        this._calls.map(call => call.e)
+      ); // see docs above
     }
   });
 }
 PriorityOrderAbortable.prototype = Object.create(ParallelAbortable.prototype);
 PriorityOrderAbortable.prototype.constructor = PriorityOrderAbortable;
 
 function NoLongerNeededException(msg) {
   CancelledException.call(this, msg);
--- a/mail/components/extensions/parent/ext-tabs.js
+++ b/mail/components/extensions/parent/ext-tabs.js
@@ -220,18 +220,18 @@ class TabsUpdateFilterEventManager exten
     });
   }
 
   addListener(callback, filter) {
     let { extension } = this.context;
     if (
       filter &&
       filter.urls &&
-      (!extension.hasPermission("tabs") &&
-        !extension.hasPermission("activeTab"))
+      !extension.hasPermission("tabs") &&
+      !extension.hasPermission("activeTab")
     ) {
       Cu.reportError(
         'Url filtering in tabs.onUpdated requires "tabs" or "activeTab" permission.'
       );
       return false;
     }
     return super.addListener(callback, filter);
   }
--- a/mail/components/im/content/chat-conversation.js
+++ b/mail/components/im/content/chat-conversation.js
@@ -1156,19 +1156,19 @@
         ((accelKeyPressed && event.charCode != 118) || event.altKey) &&
         event.keyCode != 13
       ) {
         return;
       }
 
       if (
         event.charCode == 0 && // it's not a character, it's a command key
-        (event.keyCode != 13 && // Return
+        event.keyCode != 13 && // Return
         event.keyCode != 8 && // Backspace
-          event.keyCode != 46)
+        event.keyCode != 46
       ) {
         // Delete
         return;
       }
 
       if (
         accelKeyPressed ||
         !Services.prefs.getBoolPref("accessibility.typeaheadfind")
--- a/mail/components/im/modules/index_im.jsm
+++ b/mail/components/im/modules/index_im.jsm
@@ -516,19 +516,19 @@ var GlodaIMIndexer = {
       // conv.logFiles.length - 1, so we slice from there. This gives us all new
       // log files even if there are multiple new ones.
       let currentLogFiles =
         conv.logFileCount > 1
           ? logFiles.slice(conv.logFileCount - 1)
           : logFiles;
       for (let logFile of currentLogFiles) {
         let fileName = OS.Path.basename(logFile);
-        let lastModifiedTime = (await OS.File.stat(
-          logFile
-        )).lastModificationDate.valueOf();
+        let lastModifiedTime = (
+          await OS.File.stat(logFile)
+        ).lastModificationDate.valueOf();
         if (
           Object.prototype.hasOwnProperty.call(conv.convObj, fileName) &&
           conv.convObj[fileName] == lastModifiedTime
         ) {
           // The file hasn't changed since we last indexed it, so we're done.
           continue;
         }
 
--- a/mail/components/test/unit/test_autoconfigUtils.js
+++ b/mail/components/test/unit/test_autoconfigUtils.js
@@ -250,33 +250,39 @@ function test_getIncomingTryOrder() {
     [POP, TLS, 110],
     // [POP, SSL, 995],
     [IMAP, NONE, 143],
     [POP, NONE, 110],
   ]);
 
   ssl = SSL;
   tryOrder = getIncomingTryOrder(domain, protocol, ssl, port);
-  assert_equal_try_orders(tryOrder, [[IMAP, SSL, 993], [POP, SSL, 995]]);
+  assert_equal_try_orders(tryOrder, [
+    [IMAP, SSL, 993],
+    [POP, SSL, 995],
+  ]);
 
   ssl = UNKNOWN;
   port = 31337;
   tryOrder = getIncomingTryOrder(domain, protocol, ssl, port);
   assert_equal_try_orders(tryOrder, [
     [IMAP, TLS, port],
     // [IMAP, SSL, port],
     [POP, TLS, port],
     // [POP, SSL, port],
     [IMAP, NONE, port],
     [POP, NONE, port],
   ]);
 
   ssl = SSL;
   tryOrder = getIncomingTryOrder(domain, protocol, ssl, port);
-  assert_equal_try_orders(tryOrder, [[IMAP, SSL, port], [POP, SSL, port]]);
+  assert_equal_try_orders(tryOrder, [
+    [IMAP, SSL, port],
+    [POP, SSL, port],
+  ]);
 }
 
 /**
  * Test the getOutgoingTryOrder method.
  */
 function test_getOutgoingTryOrder() {
   // The list of protocol+ssl+port configurations should match
   // getOutgoingTryOrder() in guessConfig.js.
--- a/mail/components/test/unit/test_telemetry_buildconfig.js
+++ b/mail/components/test/unit/test_telemetry_buildconfig.js
@@ -57,23 +57,29 @@ add_task(async function test_recording_s
   Telemetry.clearScalars();
 
   const events = [["tb.test", "test", "object1"]];
 
   // Recording off by default.
   events.forEach(e => Telemetry.recordEvent(...e));
   TelemetryTestUtils.assertEvents([]);
   // But still expect a non-zero summary count.
-  checkEventSummary(events.map(e => ["parent", e, 1]), true);
+  checkEventSummary(
+    events.map(e => ["parent", e, 1]),
+    true
+  );
 
   // Once again, with recording on.
   Telemetry.setEventRecordingEnabled("tb.test", true);
   events.forEach(e => Telemetry.recordEvent(...e));
   TelemetryTestUtils.assertEvents(events);
-  checkEventSummary(events.map(e => ["parent", e, 1]), true);
+  checkEventSummary(
+    events.map(e => ["parent", e, 1]),
+    true
+  );
 });
 
 /**
  * Test Thunderbird histograms are included in the build.
  */
 add_task(async function test_categorical_histogram() {
   let h1 = Telemetry.getHistogramById("TELEMETRY_TEST_TB_CATEGORICAL");
   for (let v of ["CommonLabel", "CommonLabel", "Label2", "Label3"]) {
--- a/mail/test/browser/folder-display/browser_paneFocus.js
+++ b/mail/test/browser/folder-display/browser_paneFocus.js
@@ -44,19 +44,22 @@ add_task(function setupModule(module) {
 
 /**
  * Get the currently-focused pane in the 3pane. One of the folder pane, thread
  * pane, or message pane (single- or multi-message).
  *
  * @return the focused pane
  */
 function get_focused_pane() {
-  let panes = ["threadTree", "folderTree", "messagepane", "multimessage"].map(
-    id => mc.e(id)
-  );
+  let panes = [
+    "threadTree",
+    "folderTree",
+    "messagepane",
+    "multimessage",
+  ].map(id => mc.e(id));
 
   let currentNode = mc.window.top.document.activeElement;
 
   while (currentNode) {
     if (panes.includes(currentNode)) {
       return currentNode;
     }
 
--- a/mail/test/browser/quick-filter-bar/browser_filterLogic.js
+++ b/mail/test/browser/quick-filter-bar/browser_filterLogic.js
@@ -64,20 +64,27 @@ add_task(function test_filter_starred() 
   be_in_folder(folder);
   toggle_boolean_constraints("starred");
   assert_messages_in_view(starred);
   teardownTest();
 });
 
 add_task(function test_filter_simple_intersection_unread_and_starred() {
   let folder = create_folder("QuickFilterBarFilterUnreadAndStarred");
-  let [, readUnstarred, unreadStarred, readStarred] = make_new_sets_in_folder(
-    folder,
-    [{ count: 1 }, { count: 1 }, { count: 1 }, { count: 1 }]
-  );
+  let [
+    ,
+    readUnstarred,
+    unreadStarred,
+    readStarred,
+  ] = make_new_sets_in_folder(folder, [
+    { count: 1 },
+    { count: 1 },
+    { count: 1 },
+    { count: 1 },
+  ]);
   readUnstarred.setRead(true);
   unreadStarred.setStarred(true);
   readStarred.setRead(true);
   readStarred.setStarred(true);
 
   be_in_folder(folder);
   toggle_boolean_constraints("unread", "starred");
 
@@ -148,20 +155,29 @@ add_task(function test_filter_in_address
   teardownTest();
 });
 
 add_task(function test_filter_tags() {
   let folder = create_folder("QuickFilterBarTags");
   const tagA = "$label1",
     tagB = "$label2",
     tagC = "$label3";
-  let [setNoTag, setTagA, setTagB, setTagAB, setTagC] = make_new_sets_in_folder(
-    folder,
-    [{ count: 1 }, { count: 1 }, { count: 1 }, { count: 1 }, { count: 1 }]
-  );
+  let [
+    setNoTag,
+    setTagA,
+    setTagB,
+    setTagAB,
+    setTagC,
+  ] = make_new_sets_in_folder(folder, [
+    { count: 1 },
+    { count: 1 },
+    { count: 1 },
+    { count: 1 },
+    { count: 1 },
+  ]);
   setTagA.addTag(tagA);
   setTagB.addTag(tagB);
   setTagAB.addTag(tagA);
   setTagAB.addTag(tagB);
   setTagC.addTag(tagC);
 
   be_in_folder(folder);
   toggle_boolean_constraints("tags"); // must have a tag
--- a/mailnews/db/gloda/test/unit/test_fts3_tokenizer.js
+++ b/mailnews/db/gloda/test/unit/test_fts3_tokenizer.js
@@ -49,17 +49,20 @@ var intlPhrases = [
   // tokenizer is supposed to drop them. Also make sure that a three-letter
   // token matches.
   {
     name: "Boring ASCII",
     actual: "aa bbb",
     encodings: {
       "utf-8": ["=?utf-8?q?aa_bbb?=", "aa bbb"],
     },
-    searchPhrases: [{ body: "aa", match: false }, { body: "bbb", match: true }],
+    searchPhrases: [
+      { body: "aa", match: false },
+      { body: "bbb", match: true },
+    ],
   },
 ];
 
 /**
  * For each phrase in the intlPhrases array (we are parameterized over it using
  *  parameterizeTest in the 'tests' declaration), create a message where the
  *  subject, body, and attachment name are populated using the encodings in
  *  the phrase's "encodings" attribute, one encoding per message.  Make sure
--- a/mailnews/extensions/bayesian-spam-filter/test/unit/test_traits.js
+++ b/mailnews/extensions/bayesian-spam-filter/test/unit/test_traits.js
@@ -78,17 +78,22 @@ var tests = [
   {
     command: kClass,
     fileName: "spam1.eml,spam2.eml,spam3.eml,spam4.eml",
     traitIds: [4, 6],
     traitAntiIds: [3, 5],
     // spam1 trained as "pro" for first pro/anti pair
     // spam4 trained as "anti" for second pro/anti pair
     // others are partials
-    percents: [[100, 50], [81, 0], [98, 50], [81, 0]],
+    percents: [
+      [100, 50],
+      [81, 0],
+      [98, 50],
+      [81, 0],
+    ],
   },
   // reset the plugin, read in data, and retest the classification
   // this tests the trait file writing
   {
     command: kReset,
   },
   {
     command: kClass,
@@ -104,17 +109,22 @@ var tests = [
     traitAntiIds: [3, 5],
     percents: [[8, 95]],
   },
   {
     command: kClass,
     fileName: "spam1.eml,spam2.eml,spam3.eml,spam4.eml",
     traitIds: [4, 6],
     traitAntiIds: [3, 5],
-    percents: [[100, 50], [81, 0], [98, 50], [81, 0]],
+    percents: [
+      [100, 50],
+      [81, 0],
+      [98, 50],
+      [81, 0],
+    ],
   },
 ];
 
 // main test
 function run_test() {
   localAccountUtils.loadLocalMailAccount();
   do_test_pending();
 
--- a/mailnews/mime/jsmime/test/unit/test_header.js
+++ b/mailnews/mime/jsmime/test/unit/test_header.js
@@ -449,17 +449,20 @@ define(function(require) {
           ],
         ],
         [
           "Undisclosed recipients:;",
           [{ name: "Undisclosed recipients", group: [] }],
         ],
         [
           '" "@a a;b',
-          [{ name: "", email: '" "@a a' }, { name: "b", email: "" }],
+          [
+            { name: "", email: '" "@a a' },
+            { name: "b", email: "" },
+          ],
         ],
         [
           "Undisclosed recipients:;\0:; foo <ghj@veryveryveryverylongveryveryver" +
             "yveryinvalidaddress.invalid>",
           [
             { name: "Undisclosed recipients", group: [] },
             {
               name: "foo",
@@ -467,17 +470,20 @@ define(function(require) {
                 "ghj@veryveryveryverylongveryveryveryveryinvali" +
                 "daddress.invalid",
             },
           ],
         ],
         // XXX: test_nsIMsgHeaderParser2 has an empty one here...
         [
           "<a;a@invalid",
-          [{ name: "", email: "a" }, { name: "", email: "a@invalid" }],
+          [
+            { name: "", email: "a" },
+            { name: "", email: "a@invalid" },
+          ],
         ],
         ["me@foo.invalid", [{ name: "", email: "me@foo.invalid" }]],
         [
           "me@foo.invalid, me2@foo.invalid",
           [
             { name: "", email: "me@foo.invalid" },
             { name: "", email: "me2@foo.invalid" },
           ],
--- a/mailnews/mime/jsmime/test/unit/test_header_emitter.js
+++ b/mailnews/mime/jsmime/test/unit/test_header_emitter.js
@@ -36,21 +36,27 @@ define(function(require) {
       let header_tests = [
         [[{ name: "", email: "" }], ""],
         [[{ name: "", email: "a@example.com" }], "a@example.com"],
         [
           [{ name: "John Doe", email: "a@example.com" }],
           "John Doe <a@example.com>",
         ],
         [
-          [{ name: "", email: "a@b.c" }, { name: "", email: "b@b.c" }],
+          [
+            { name: "", email: "a@b.c" },
+            { name: "", email: "b@b.c" },
+          ],
           "a@b.c, b@b.c",
         ],
         [
-          [{ name: "JD", email: "a@a.c" }, { name: "SD", email: "b@b.c" }],
+          [
+            { name: "JD", email: "a@a.c" },
+            { name: "SD", email: "b@b.c" },
+          ],
           "JD <a@a.c>, SD <b@b.c>",
         ],
         [
           [
             { name: "John Doe", email: "a@example.com" },
             { name: "Sally Doe", email: "b@example.com" },
           ],
           "John Doe <a@example.com>,\r\n Sally Doe <b@example.com>",
--- a/mailnews/mime/test/unit/test_nsIMsgHeaderParser4.js
+++ b/mailnews/mime/test/unit/test_nsIMsgHeaderParser4.js
@@ -11,17 +11,20 @@ function run_test() {
   const checks = [
     { displayString: "", addresses: [] },
     {
       displayString: "test@foo.invalid",
       addresses: [["", "test@foo.invalid"]],
     },
     {
       displayString: "test@foo.invalid, test2@foo.invalid",
-      addresses: [["", "test@foo.invalid"], ["", "test2@foo.invalid"]],
+      addresses: [
+        ["", "test@foo.invalid"],
+        ["", "test2@foo.invalid"],
+      ],
     },
     {
       displayString: "John Doe <test@foo.invalid>",
       addresses: [["John Doe", "test@foo.invalid"]],
     },
     // Trim spaces.
     {
       displayString: "  John Doe  <test@foo.invalid>",
--- a/mailnews/mime/test/unit/test_nsIMsgHeaderParser5.js
+++ b/mailnews/mime/test/unit/test_nsIMsgHeaderParser5.js
@@ -75,18 +75,24 @@ function run_test() {
       [{ name: "null=?UTF-8?B?AA==?=byte", email: "nullbyte@example.com" }],
       [{ name: "nullbyte", email: "nullbyte@example.com" }],
     ],
     ["", [], []],
     [" \r\n\t", [], []],
     [
       // This used to cause memory read overruns.
       '" "@a a;b',
-      [{ name: "", email: '" "@a a' }, { name: "b", email: "" }],
-      [{ name: "", email: "@a a" }, { name: "b", email: "" }],
+      [
+        { name: "", email: '" "@a a' },
+        { name: "b", email: "" },
+      ],
+      [
+        { name: "", email: "@a a" },
+        { name: "b", email: "" },
+      ],
     ],
   ];
 
   for (let check of checks) {
     equalArrays(
       MailServices.headerParser.parseDecodedHeader(check[0]),
       check[1]
     );