Bug 1490448 - force strict JS mode in MozMill tests. r=jorgk
authoraceman <acelists@atlas.sk>
Mon, 17 Sep 2018 12:44:00 +0200
changeset 33174 2977f7b7b8d661f1bd377786f3add1c1aa551d80
parent 33173 50da05f6af45c6aa572428c1d86320a02c527969
child 33175 4769902c580ea46024026dba447f5a256ef66114
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersjorgk
bugs1490448
Bug 1490448 - force strict JS mode in MozMill tests. r=jorgk
mail/test/mozmill/account/test-ab-whitelist.js
mail/test/mozmill/account/test-account-actions.js
mail/test/mozmill/account/test-account-deletion.js
mail/test/mozmill/account/test-account-port-setting.js
mail/test/mozmill/account/test-account-settings-infrastructure.js
mail/test/mozmill/account/test-account-tree.js
mail/test/mozmill/account/test-account-values.js
mail/test/mozmill/account/test-archive-options.js
mail/test/mozmill/account/test-mail-account-setup-wizard.js
mail/test/mozmill/account/test-retest-config.js
mail/test/mozmill/addrbook/test-address-book-panes.js
mail/test/mozmill/addrbook/test-address-book.js
mail/test/mozmill/addrbook/test-update-mailing-list.js
mail/test/mozmill/attachment/test-attachment-events.js
mail/test/mozmill/attachment/test-attachment-in-plain-msg.js
mail/test/mozmill/attachment/test-attachment-menus.js
mail/test/mozmill/attachment/test-attachment-size.js
mail/test/mozmill/attachment/test-attachment.js
mail/test/mozmill/cloudfile/test-cloudfile-add-account-dialog.js
mail/test/mozmill/cloudfile/test-cloudfile-attachment-item.js
mail/test/mozmill/cloudfile/test-cloudfile-attachment-urls.js
mail/test/mozmill/cloudfile/test-cloudfile-backend-hightail.js
mail/test/mozmill/cloudfile/test-cloudfile-manager.js
mail/test/mozmill/cloudfile/test-cloudfile-notifications.js
mail/test/mozmill/composition/test-address-widgets.js
mail/test/mozmill/composition/test-attachment-reminder.js
mail/test/mozmill/composition/test-attachment.js
mail/test/mozmill/composition/test-base64-display.js
mail/test/mozmill/composition/test-blocked-content.js
mail/test/mozmill/composition/test-charset-edit.js
mail/test/mozmill/composition/test-charset-upgrade.js
mail/test/mozmill/composition/test-draft-identity.js
mail/test/mozmill/composition/test-drafts.js
mail/test/mozmill/composition/test-eml-actions.js
mail/test/mozmill/composition/test-focus.js
mail/test/mozmill/composition/test-forward-headers.js
mail/test/mozmill/composition/test-forward-rfc822-attach.js
mail/test/mozmill/composition/test-forward-utf8.js
mail/test/mozmill/composition/test-forwarded-content.js
mail/test/mozmill/composition/test-forwarded-eml-actions.js
mail/test/mozmill/composition/test-image-display.js
mail/test/mozmill/composition/test-image-insertion-dialog.js
mail/test/mozmill/composition/test-multipart-related.js
mail/test/mozmill/composition/test-newmsg-compose-identity.js
mail/test/mozmill/composition/test-reply-addresses.js
mail/test/mozmill/composition/test-reply-format-flowed.js
mail/test/mozmill/composition/test-reply-multipart-charset.js
mail/test/mozmill/composition/test-reply-signature.js
mail/test/mozmill/composition/test-save-changes-on-quit.js
mail/test/mozmill/composition/test-send-button.js
mail/test/mozmill/composition/test-send-format.js
mail/test/mozmill/composition/test-signature-init.js
mail/test/mozmill/composition/test-signature-updating.js
mail/test/mozmill/content-policy/test-compose-mailto.js
mail/test/mozmill/content-policy/test-dns-prefetch.js
mail/test/mozmill/content-policy/test-exposed-in-content-tabs.js
mail/test/mozmill/content-policy/test-general-content-policy.js
mail/test/mozmill/content-policy/test-js-content-policy.js
mail/test/mozmill/content-policy/test-plugins-policy.js
mail/test/mozmill/content-policy/test-view-source.js
mail/test/mozmill/content-tabs/test-about-support.js
mail/test/mozmill/content-tabs/test-addons-mgr.js
mail/test/mozmill/content-tabs/test-content-tab.js
mail/test/mozmill/content-tabs/test-install-xpi.js
mail/test/mozmill/content-tabs/test-lwthemes.js
mail/test/mozmill/content-tabs/test-plugin-blocked.js
mail/test/mozmill/content-tabs/test-plugin-crashing.js
mail/test/mozmill/content-tabs/test-plugin-outdated.js
mail/test/mozmill/cookies/test-cookies.js
mail/test/mozmill/downloads/test-about-downloads.js
mail/test/mozmill/folder-display/test-archive-messages.js
mail/test/mozmill/folder-display/test-close-window-on-delete.js
mail/test/mozmill/folder-display/test-columns.js
mail/test/mozmill/folder-display/test-deletion-from-virtual-folders.js
mail/test/mozmill/folder-display/test-deletion-with-multiple-displays.js
mail/test/mozmill/folder-display/test-display-name.js
mail/test/mozmill/folder-display/test-displaying-messages-in-folder-tabs.js
mail/test/mozmill/folder-display/test-folder-pane-visibility.js
mail/test/mozmill/folder-display/test-folder-toolbar.js
mail/test/mozmill/folder-display/test-invalid-db-folder-load.js
mail/test/mozmill/folder-display/test-mail-views.js
mail/test/mozmill/folder-display/test-message-commands-on-msgstore.js
mail/test/mozmill/folder-display/test-message-commands.js
mail/test/mozmill/folder-display/test-message-pane-visibility.js
mail/test/mozmill/folder-display/test-message-reloads.js
mail/test/mozmill/folder-display/test-message-size.js
mail/test/mozmill/folder-display/test-message-window.js
mail/test/mozmill/folder-display/test-opening-messages-without-a-backing-view.js
mail/test/mozmill/folder-display/test-opening-messages.js
mail/test/mozmill/folder-display/test-pane-focus.js
mail/test/mozmill/folder-display/test-recent-menu.js
mail/test/mozmill/folder-display/test-right-click-middle-click-folders.js
mail/test/mozmill/folder-display/test-right-click-middle-click-messages.js
mail/test/mozmill/folder-display/test-savedsearch-reload-after-compact.js
mail/test/mozmill/folder-display/test-selection.js
mail/test/mozmill/folder-display/test-summarization.js
mail/test/mozmill/folder-display/test-tabs-simple.js
mail/test/mozmill/folder-display/test-tooltip-multimessage.js
mail/test/mozmill/folder-display/test-virtual-folder-commands.js
mail/test/mozmill/folder-display/test-watch-ignore-thread.js
mail/test/mozmill/folder-pane/test-display-message-with-folder-modes.js
mail/test/mozmill/folder-pane/test-folder-names-in-recent-mode.js
mail/test/mozmill/folder-pane/test-folder-pane-consumers.js
mail/test/mozmill/folder-pane/test-folder-pane.js
mail/test/mozmill/folder-tree-modes/test-custom-folder-tree-mode.js
mail/test/mozmill/folder-tree-modes/test-custom-smart-folder.js
mail/test/mozmill/folder-tree-modes/test-extension/bootstrap.js
mail/test/mozmill/folder-tree-modes/test-mode-switching.js
mail/test/mozmill/folder-tree-modes/test-smart-folders.js
mail/test/mozmill/folder-tree-modes/test-unread-folders.js
mail/test/mozmill/folder-widget/test-message-filters.js
mail/test/mozmill/im/test-chat-tab-restore.js
mail/test/mozmill/im/test-toolbar-buttons.js
mail/test/mozmill/instrumentation/test-instrument-setup.js
mail/test/mozmill/junk-commands/test-junk-commands.js
mail/test/mozmill/keyboard/test-spacehit.js
mail/test/mozmill/message-header/test-header-toolbar.js
mail/test/mozmill/message-header/test-message-header.js
mail/test/mozmill/message-header/test-phishing-bar.js
mail/test/mozmill/message-header/test-reply-identity.js
mail/test/mozmill/message-header/test-reply-to-list-from-address-selection.js
mail/test/mozmill/message-header/test-return-receipt.js
mail/test/mozmill/message-reader/test-bug594646.js
mail/test/mozmill/message-window/test-autohide-menubar.js
mail/test/mozmill/message-window/test-commands.js
mail/test/mozmill/message-window/test-eml-subject.js
mail/test/mozmill/message-window/test-message-sidebar.js
mail/test/mozmill/message-window/test-vcard-actions.js
mail/test/mozmill/message-window/test-view-plaintext.js
mail/test/mozmill/migration-to-rdf-ui-2/test-migrate-to-rdf-ui-2.js
mail/test/mozmill/migration-to-rdf-ui-3/test-migrate-to-rdf-ui-3.js
mail/test/mozmill/migration-to-rdf-ui-5/test-migrate-to-rdf-ui-5.js
mail/test/mozmill/multiple-identities/test-display-names.js
mail/test/mozmill/newmailaccount/test-newmailaccount.js
mail/test/mozmill/notification/test-notification.js
mail/test/mozmill/override-main-menu-collapse/test-override-mainmenu-collapse.js
mail/test/mozmill/pref-window/test-attachments-pane.js
mail/test/mozmill/pref-window/test-font-chooser.js
mail/test/mozmill/quick-filter-bar/test-display-issues.js
mail/test/mozmill/quick-filter-bar/test-filter-logic.js
mail/test/mozmill/quick-filter-bar/test-keyboard-interface.js
mail/test/mozmill/quick-filter-bar/test-sticky-filter-logic.js
mail/test/mozmill/quick-filter-bar/test-toggle-bar.js
mail/test/mozmill/search-window/test-multiple-search-windows.js
mail/test/mozmill/search-window/test-right-click-to-open-search-window.js
mail/test/mozmill/search-window/test-search-window.js
mail/test/mozmill/session-store/test-session-store.js
mail/test/mozmill/shared-modules/test-account-manager-helpers.js
mail/test/mozmill/shared-modules/test-address-book-helpers.js
mail/test/mozmill/shared-modules/test-attachment-helpers.js
mail/test/mozmill/shared-modules/test-cloudfile-backend-helpers.js
mail/test/mozmill/shared-modules/test-cloudfile-helpers.js
mail/test/mozmill/shared-modules/test-cloudfile-hightail-helpers.js
mail/test/mozmill/shared-modules/test-compose-helpers.js
mail/test/mozmill/shared-modules/test-content-tab-helpers.js
mail/test/mozmill/shared-modules/test-customization-helpers.js
mail/test/mozmill/shared-modules/test-dom-helpers.js
mail/test/mozmill/shared-modules/test-folder-display-helpers.js
mail/test/mozmill/shared-modules/test-junk-helpers.js
mail/test/mozmill/shared-modules/test-keyboard-helpers.js
mail/test/mozmill/shared-modules/test-message-helpers.js
mail/test/mozmill/shared-modules/test-mock-object-helpers.js
mail/test/mozmill/shared-modules/test-mouse-event-helpers.js
mail/test/mozmill/shared-modules/test-newmailaccount-helpers.js
mail/test/mozmill/shared-modules/test-nntp-helpers.js
mail/test/mozmill/shared-modules/test-notificationbox-helpers.js
mail/test/mozmill/shared-modules/test-observer-helpers.js
mail/test/mozmill/shared-modules/test-pref-window-helpers.js
mail/test/mozmill/shared-modules/test-prompt-helpers.js
mail/test/mozmill/shared-modules/test-quick-filter-bar-helper.js
mail/test/mozmill/shared-modules/test-search-window-helpers.js
mail/test/mozmill/shared-modules/test-subscribe-window-helper.js
mail/test/mozmill/shared-modules/test-window-helpers.js
mail/test/mozmill/startup-firstrun/test-menubar-collapsed.js
mail/test/mozmill/subscribe/test-subscribe-news-filter.js
mail/test/mozmill/tabmail/test-tabmail-closing.js
mail/test/mozmill/tabmail/test-tabmail-customize.js
mail/test/mozmill/tabmail/test-tabmail-dragndrop.js
--- a/mail/test/mozmill/account/test-ab-whitelist.js
+++ b/mail/test/mozmill/account/test-ab-whitelist.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "test-ab-whitelist";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                        "account-manager-helpers", "keyboard-helpers" ];
 
 var mozmill = {};
 ChromeUtils.import("chrome://mozmill/content/modules/mozmill.js", mozmill);
--- a/mail/test/mozmill/account/test-account-actions.js
+++ b/mail/test/mozmill/account/test-account-actions.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "test-account-actions";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                          "account-manager-helpers"];
 
 var imapAccount, nntpAccount, originalAccountCount;
 
--- a/mail/test/mozmill/account/test-account-deletion.js
+++ b/mail/test/mozmill/account/test-account-deletion.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * This test checks proper deletion of an account from the Account manager.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-account-deletion";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                        "account-manager-helpers"];
 
 var gPopAccount, gImapAccount, gNntpAccount, gOriginalAccountCount;
 
--- a/mail/test/mozmill/account/test-account-port-setting.js
+++ b/mail/test/mozmill/account/test-account-port-setting.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "test-account-port-setting";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                        "account-manager-helpers", "keyboard-helpers" ];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/account/test-account-settings-infrastructure.js
+++ b/mail/test/mozmill/account/test-account-settings-infrastructure.js
@@ -5,16 +5,18 @@
 /**
  * This test checks proper operation of the account settings panes infrastructure
  * in the Account manager. E.g. if the values of elements are properly stored when
  * panes are switched.
  *
  * New checks can be added to it as needed.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-account-settings-infrastructure";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                          "account-manager-helpers"];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/account/test-account-tree.js
+++ b/mail/test/mozmill/account/test-account-tree.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * This test checks proper operation of the account tree in the Account manager.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-account-tree";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                          "account-manager-helpers"];
 
 var gPopAccount, gOriginalAccountCount;
 
--- a/mail/test/mozmill/account/test-account-values.js
+++ b/mail/test/mozmill/account/test-account-values.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * This test checks proper operation of the account settings panes
  * when certain special or invalid values are entered into the fields.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-account-values";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                          "account-manager-helpers"];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/account/test-archive-options.js
+++ b/mail/test/mozmill/account/test-archive-options.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "test-archive-options";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                        "account-manager-helpers"];
 
 var mozmill = {};
 ChromeUtils.import("chrome://mozmill/content/modules/mozmill.js", mozmill);
--- a/mail/test/mozmill/account/test-mail-account-setup-wizard.js
+++ b/mail/test/mozmill/account/test-mail-account-setup-wizard.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "test-mail-account-setup-wizard";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                        "account-manager-helpers", "keyboard-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 ChromeUtils.import("resource:///modules/MailServices.jsm");
--- a/mail/test/mozmill/account/test-retest-config.js
+++ b/mail/test/mozmill/account/test-retest-config.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "test-retest-config";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                        "keyboard-helpers", "account-manager-helpers"];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/addrbook/test-address-book-panes.js
+++ b/mail/test/mozmill/addrbook/test-address-book-panes.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Tests for the address book.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-address-book-panes";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["address-book-helpers", "folder-display-helpers"];
 
 function setupModule(module) {
   // We need this to get mc which is needed in open_address_book_window.
   let fdh = collector.getModule("folder-display-helpers");
--- a/mail/test/mozmill/addrbook/test-address-book.js
+++ b/mail/test/mozmill/addrbook/test-address-book.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Tests for the address book.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-address-book';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['address-book-helpers', 'folder-display-helpers',
                        'compose-helpers', 'window-helpers',
                        'prompt-helpers'];
 
 ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
--- a/mail/test/mozmill/addrbook/test-update-mailing-list.js
+++ b/mail/test/mozmill/addrbook/test-update-mailing-list.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that if a contact's address is updated, then the address is also
  * updated in mailing lists that that contact belongs to.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-update-mailing-list';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['address-book-helpers',
                        'folder-display-helpers',];
 
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 
--- a/mail/test/mozmill/attachment/test-attachment-events.js
+++ b/mail/test/mozmill/attachment/test-attachment-events.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Ensures that attachment events are fired properly
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-attachment-events';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers',
                        'compose-helpers',
                        'window-helpers',
                        'attachment-helpers',
                        'observer-helpers',
--- a/mail/test/mozmill/attachment/test-attachment-in-plain-msg.js
+++ b/mail/test/mozmill/attachment/test-attachment-in-plain-msg.js
@@ -1,14 +1,16 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 // make SOLO_TEST=attachment/test-attachment-in-plain-msg.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-attachment-in-plain-msg";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                        "dom-helpers"];
 
 var os = {};
 ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
--- a/mail/test/mozmill/attachment/test-attachment-menus.js
+++ b/mail/test/mozmill/attachment/test-attachment-menus.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "test-attachment-menus";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                        "attachment-helpers"];
 
 var folder;
 var messenger;
--- a/mail/test/mozmill/attachment/test-attachment-size.js
+++ b/mail/test/mozmill/attachment/test-attachment-size.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-attachment-size';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers',
                        'attachment-helpers'];
 
 var folder;
 var messenger;
--- a/mail/test/mozmill/attachment/test-attachment.js
+++ b/mail/test/mozmill/attachment/test-attachment.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Checks various attachments display correctly
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-attachment';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'compose-helpers',
                        'window-helpers'];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/cloudfile/test-cloudfile-add-account-dialog.js
+++ b/mail/test/mozmill/cloudfile/test-cloudfile-add-account-dialog.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests the 'Set up a Filelink Account' dialog
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-cloudfile-add-account-dialog';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['cloudfile-helpers',
                          'dom-helpers',
                          'folder-display-helpers',
                          'keyboard-helpers',
                          'window-helpers'];
--- a/mail/test/mozmill/cloudfile/test-cloudfile-attachment-item.js
+++ b/mail/test/mozmill/cloudfile/test-cloudfile-attachment-item.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests Filelink attachment item behaviour.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-cloudfile-attachment-item';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers',
                        'compose-helpers',
                        'cloudfile-helpers',
                        'attachment-helpers']
 
--- a/mail/test/mozmill/cloudfile/test-cloudfile-attachment-urls.js
+++ b/mail/test/mozmill/cloudfile/test-cloudfile-attachment-urls.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests Filelink URL insertion behaviours in compose windows.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-cloudfile-attachment-urls';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers',
                        'compose-helpers',
                        'cloudfile-helpers',
                        'attachment-helpers',
                        'dom-helpers',
--- a/mail/test/mozmill/cloudfile/test-cloudfile-backend-hightail.js
+++ b/mail/test/mozmill/cloudfile/test-cloudfile-backend-hightail.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
   * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests the Hightail Bigfile backend.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-cloudfile-backend-hightail';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers',
                          'compose-helpers',
                          'cloudfile-helpers',
                          'cloudfile-backend-helpers',
                          'cloudfile-hightail-helpers',
--- a/mail/test/mozmill/cloudfile/test-cloudfile-manager.js
+++ b/mail/test/mozmill/cloudfile/test-cloudfile-manager.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests the richlistbox in the manager for attachment storage
  * services
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-cloudfile-manager';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers',
                        'pref-window-helpers',
                        "content-tab-helpers",
                        'cloudfile-helpers'];
 
--- a/mail/test/mozmill/cloudfile/test-cloudfile-notifications.js
+++ b/mail/test/mozmill/cloudfile/test-cloudfile-notifications.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that the cloudfile notifications work as they should.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-cloudfile-notifications';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers',
                        'compose-helpers',
                        'cloudfile-helpers',
                        'attachment-helpers',
                        'prompt-helpers',
--- a/mail/test/mozmill/composition/test-address-widgets.js
+++ b/mail/test/mozmill/composition/test-address-widgets.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests proper enabling of addressing widgets.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-address-widgets";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers",
                          "window-helpers"];
 
 var cwc = null; // compose window controller
 var accountPOP3 = null;
--- a/mail/test/mozmill/composition/test-attachment-reminder.js
+++ b/mail/test/mozmill/composition/test-attachment-reminder.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that the attachment reminder works properly.
  */
 
 // make SOLO_TEST=composition/test-attachment-reminder.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-attachment-reminder";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers",
                          "compose-helpers",
                          "window-helpers",
                          "notificationbox-helpers",
                          "keyboard-helpers"];
--- a/mail/test/mozmill/composition/test-attachment.js
+++ b/mail/test/mozmill/composition/test-attachment.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests attachment handling functionality of the message compose window.
  */
 
+"use strict";
+
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
 
 var MODULE_NAME = 'test-attachment';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'compose-helpers',
                        'window-helpers'];
--- a/mail/test/mozmill/composition/test-base64-display.js
+++ b/mail/test/mozmill/composition/test-base64-display.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that messages with "broken" base64 are correctly displayed.
  */
 
 // mozmake SOLO_TEST=composition/test-base64-display.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-base64-display.js";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 var os = {};
 ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
 
--- a/mail/test/mozmill/composition/test-blocked-content.js
+++ b/mail/test/mozmill/composition/test-blocked-content.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that we do the right thing wrt. blocked resources during composition.
  */
 
 // make mozmill-one SOLO_TEST=composition/test-blocked-content.js
 
+"use strict";
+
 var MODULE_NAME = "test-blocked-content";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = [
   "folder-display-helpers",
    "window-helpers",
    "compose-helpers",
    "notificationbox-helpers"
--- a/mail/test/mozmill/composition/test-charset-edit.js
+++ b/mail/test/mozmill/composition/test-charset-edit.js
@@ -4,16 +4,18 @@
 
 /**
  * Tests that we do the right thing wrt. message encoding when editing or
  * replying to messages.
  */
 
 // make SOLO_TEST=composition/test-charset-edit.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-charset-edit";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers",
                        "window-helpers", "notificationbox-helpers"];
 
 var os = {};
 ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
--- a/mail/test/mozmill/composition/test-charset-upgrade.js
+++ b/mail/test/mozmill/composition/test-charset-upgrade.js
@@ -4,16 +4,18 @@
 
 /**
  * Tests that we do the right thing wrt. message encoding, especially when
  * all characters doesn't fit the selected charset.
  */
 
 // make SOLO_TEST=composition/test-charset-upgrade.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-charset-upgrade";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers", "compose-helpers"];
 
 ChromeUtils.import('resource://gre/modules/Services.jsm');
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 
--- a/mail/test/mozmill/composition/test-draft-identity.js
+++ b/mail/test/mozmill/composition/test-draft-identity.js
@@ -4,16 +4,18 @@
 
 /**
  * Tests that compose new message chooses the correct initial identity when
  * called from the context of an open composer.
  */
 
 // make SOLO_TEST=composition/test-draft-identity.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-draft-identity";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                        "compose-helpers", "notificationbox-helpers"];
 
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
--- a/mail/test/mozmill/composition/test-drafts.js
+++ b/mail/test/mozmill/composition/test-drafts.js
@@ -4,16 +4,18 @@
 
 /**
  * Tests draft related functionality:
  * - that we don't allow opening multiple copies of a draft.
  */
 
 // make SOLO_TEST=composition/test-drafts.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-drafts";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers",
                        "window-helpers", "notificationbox-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 ChromeUtils.import("resource:///modules/MailServices.jsm");
--- a/mail/test/mozmill/composition/test-eml-actions.js
+++ b/mail/test/mozmill/composition/test-eml-actions.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that actions such as replying to an .eml works properly.
  */
 
 // make SOLO_TEST=composition/test-eml-actions.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-eml-actions";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers", "compose-helpers"];
 
 var os = {};
 ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
 ChromeUtils.import("resource:///modules/MailServices.jsm");
--- a/mail/test/mozmill/composition/test-focus.js
+++ b/mail/test/mozmill/composition/test-focus.js
@@ -1,15 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that cycling through the focus of the 3pane's panes works correctly.
  */
+
+"use strict";
+
 var MODULE_NAME = "test-focus";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers",
                        "window-helpers"];
 
 function setupModule(module) {
   for (let lib of MODULE_REQUIRES) {
--- a/mail/test/mozmill/composition/test-forward-headers.js
+++ b/mail/test/mozmill/composition/test-forward-headers.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that headers like References and X-Forwarded-Message-Id are
  * set properly when forwarding messages.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-forward-headers";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers", "window-helpers",
                          "message-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 
--- a/mail/test/mozmill/composition/test-forward-rfc822-attach.js
+++ b/mail/test/mozmill/composition/test-forward-rfc822-attach.js
@@ -4,16 +4,18 @@
 
 /**
  * Tests that attached messages (message/rfc822) are correctly sent.
  * It's easiest to test the forward case.
  */
 
 // mozmake SOLO_TEST=composition/test-forward-rfc822-attach.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-forward-rfc822-attach";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers", "window-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 var os = {};
--- a/mail/test/mozmill/composition/test-forward-utf8.js
+++ b/mail/test/mozmill/composition/test-forward-utf8.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that UTF-8 messages are correctly forwarded.
  */
 
 // mozmake SOLO_TEST=composition/test-forward-utf8.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-forward-utf8";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers", "window-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 var elib = {};
--- a/mail/test/mozmill/composition/test-forwarded-content.js
+++ b/mail/test/mozmill/composition/test-forwarded-content.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that forwarded content is ok.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-forwarded-content";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers",
                          "window-helpers", "compose-helpers"];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/composition/test-forwarded-eml-actions.js
+++ b/mail/test/mozmill/composition/test-forwarded-eml-actions.js
@@ -4,16 +4,18 @@
 
 /**
  * Tests that actions such as replying and forwarding works correctly from
  * an .eml message that's attached to another mail.
  */
 
 // make SOLO_TEST=composition/test-forwarded-eml-actions.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-forwarded-eml-actions";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                          "compose-helpers"];
 
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 var elib = {};
--- a/mail/test/mozmill/composition/test-image-display.js
+++ b/mail/test/mozmill/composition/test-image-display.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that we load and display embedded images in messages.
  */
 
 // make SOLO_TEST=composition/test-image-display.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-image-display";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = [ "folder-display-helpers", "window-helpers",
                         "compose-helpers" ];
 
 var os = {};
 ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
--- a/mail/test/mozmill/composition/test-image-insertion-dialog.js
+++ b/mail/test/mozmill/composition/test-image-insertion-dialog.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests the image insertion dialog functionality.
  */
 
+"use strict";
+
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
 
 var MODULE_NAME = "test-image-insertion-dialog";
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'compose-helpers',
                        'window-helpers', 'keyboard-helpers'];
--- a/mail/test/mozmill/composition/test-multipart-related.js
+++ b/mail/test/mozmill/composition/test-multipart-related.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that multipart/related messages are handled properly.
  */
 
 // make SOLO_TEST=composition/test-multipart-related.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-multipart-related";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers", "compose-helpers"];
 
 var os = {};
 ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
 ChromeUtils.import('resource://gre/modules/Services.jsm');
--- a/mail/test/mozmill/composition/test-newmsg-compose-identity.js
+++ b/mail/test/mozmill/composition/test-newmsg-compose-identity.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that compose new message chooses the correct initial identity when
  * called from the context of an open composer.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-newmsg-compose-identity";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers",
                        "window-helpers", "compose-helpers"];
 
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 
--- a/mail/test/mozmill/composition/test-reply-addresses.js
+++ b/mail/test/mozmill/composition/test-reply-addresses.js
@@ -5,16 +5,18 @@
 /**
  * Tests that we get correct adressees for different type of replies:
  * reply to sender, reply to all, reply to list, mail-followup-tp,
  * mail-reply-to, and reply to self.
  */
 
 // make SOLO_TEST=composition/test-reply-addresses.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-reply-addresses";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers",
                          "window-helpers", "compose-helpers"];
 
 var folder;
 var i = 0;
--- a/mail/test/mozmill/composition/test-reply-format-flowed.js
+++ b/mail/test/mozmill/composition/test-reply-format-flowed.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that the reply to a format=flowed message is also flowed.
  */
 
 // make SOLO_TEST=composition/test-reply-format-flowed.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-reply-format-flowed";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers", "window-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 
--- a/mail/test/mozmill/composition/test-reply-multipart-charset.js
+++ b/mail/test/mozmill/composition/test-reply-multipart-charset.js
@@ -17,16 +17,18 @@
  * Tests that the correct charset is used, even if the message
  * wasn't viewed before answering/forwarding.
  * For good measure some tests are included for charset overriding
  * and enforcing the charset default.
  */
 
 // make SOLO_TEST=composition/test-reply-multipart-charset.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-reply-multipart-charset";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers", "window-helpers"];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
 var os = {};
--- a/mail/test/mozmill/composition/test-reply-signature.js
+++ b/mail/test/mozmill/composition/test-reply-signature.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests the mail.strip_sig_on_reply pref.
  */
 
 // make SOLO_TEST=composition/test-reply-signature.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-reply-signature";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers", "window-helpers",
                          "message-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 
--- a/mail/test/mozmill/composition/test-save-changes-on-quit.js
+++ b/mail/test/mozmill/composition/test-save-changes-on-quit.js
@@ -5,16 +5,18 @@
 /**
  * Tests that we prompt the user if they'd like to save their message when they
  * try to quit/close with an open compose window with unsaved changes, and
  * that we don't prompt if there are no changes.
  */
 
 // make SOLO_TEST=composition/test-save-changes-on-quit.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-save-changes-on-quit";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers",
                          "prompt-helpers", "window-helpers"];
 var SAVE = 0
 var CANCEL = 1
 var DONT_SAVE = 2;
--- a/mail/test/mozmill/composition/test-send-button.js
+++ b/mail/test/mozmill/composition/test-send-button.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests proper enabling of send buttons depending on addresses input.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-send-button";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers",
                          "window-helpers", "address-book-helpers"];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/composition/test-send-format.js
+++ b/mail/test/mozmill/composition/test-send-format.js
@@ -4,16 +4,18 @@
 
 /**
  * Tests resulting send format of a message dependent on using HTML features
  * in the composition.
  */
 
 // make SOLO_TEST=composition/test-send-format.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-send-format";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers", "window-helpers"];
 
 var os = {};
 ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
 
--- a/mail/test/mozmill/composition/test-signature-init.js
+++ b/mail/test/mozmill/composition/test-signature-init.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that the compose window initializes with the signature correctly
  * under various circumstances.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-signature-init';
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['compose-helpers',
                          'folder-display-helpers'];
 
 var kHtmlPref = 'mail.identity.default.compose_html';
 var kReplyOnTopPref = 'mail.identity.default.reply_on_top';
 var kReplyOnTop = 1;
--- a/mail/test/mozmill/composition/test-signature-updating.js
+++ b/mail/test/mozmill/composition/test-signature-updating.js
@@ -9,22 +9,22 @@
 // make SOLO_TEST=composition/test-signature-updating.js mozmill-one
 
 // mail.identity.id1.htmlSigFormat = false
 // mail.identity.id1.htmlSigText   = "Tinderbox is soo 90ies"
 
 // mail.identity.id2.htmlSigFormat = true
 // mail.identity.id2.htmlSigText   = "Tinderboxpushlog is the new <b>hotness!</b>"
 
+"use strict";
+
 var MODULE_NAME = "test-signature-updating";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "compose-helpers", "window-helpers"];
-var elib = {};
-ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 
 var cwc = null; // compose window controller
 
 var setupModule = function (module) {
   for (let lib of MODULE_REQUIRES) {
     collector.getModule(lib).installInto(module);
   }
--- a/mail/test/mozmill/content-policy/test-compose-mailto.js
+++ b/mail/test/mozmill/content-policy/test-compose-mailto.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-compose-mailto';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'compose-helpers',
                        'window-helpers', 'keyboard-helpers',
                        'content-tab-helpers'];
 
 var folder = null;
--- a/mail/test/mozmill/content-policy/test-dns-prefetch.js
+++ b/mail/test/mozmill/content-policy/test-dns-prefetch.js
@@ -4,16 +4,18 @@
 
 /**
  * The purpose of this test is to ensure that dns prefetch is turned off in
  * the message pane and compose windows. It also checks that dns prefetch is
  * currently turned off in content tabs, although when bug 545407 is fixed, it
  * should be turned back on again.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-dns-prefetch";
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'compose-helpers',
                        'content-tab-helpers'];
 
 var folder = null;
 var composeHelper = null;
--- a/mail/test/mozmill/content-policy/test-exposed-in-content-tabs.js
+++ b/mail/test/mozmill/content-policy/test-exposed-in-content-tabs.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * The purpose of this test is to ensure that remote content can't gain access
  * to messages by loading their URIs.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-exposed-in-content-tabs';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'compose-helpers',
                        'content-tab-helpers'];
 
 var folder = null;
 var composeHelper = null;
--- a/mail/test/mozmill/content-policy/test-general-content-policy.js
+++ b/mail/test/mozmill/content-policy/test-general-content-policy.js
@@ -14,16 +14,18 @@
  * - Reply email compose window
  * - Forward email compose window
  * - Content tab
  * - Feed message
  */
 
 // make SOLO_TEST=content-policy/test-general-content-policy.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = 'test-general-content-policy';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers',
                          'compose-helpers', 'content-tab-helpers',
                          'keyboard-helpers',
                          'notificationbox-helpers'];
 
--- a/mail/test/mozmill/content-policy/test-js-content-policy.js
+++ b/mail/test/mozmill/content-policy/test-js-content-policy.js
@@ -6,16 +6,18 @@
  * Tests whether JavaScript in a local/remote message works.
  *
  * @note This assumes an existing local account, and will cause the Trash
  * folder of that account to be emptied multiple times.
  */
 
 // make SOLO_TEST=content-policy/test-js-content-policy.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = 'test-js-content-policy';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
 var folder = null;
 
 // RELATIVE_ROOT messes with the collector, so we have to bring the path back
--- a/mail/test/mozmill/content-policy/test-plugins-policy.js
+++ b/mail/test/mozmill/content-policy/test-plugins-policy.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Checks if plugins are enabled in messages correctly or not.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-plugins-policy';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers',
                        'compose-helpers', 'content-tab-helpers'];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 
--- a/mail/test/mozmill/content-policy/test-view-source.js
+++ b/mail/test/mozmill/content-policy/test-view-source.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Test that view-source content can be reloaded to change encoding.
  */
 
 // make SOLO_TEST=content-policy/test-view-source.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-view-source";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
 
--- a/mail/test/mozmill/content-tabs/test-about-support.js
+++ b/mail/test/mozmill/content-tabs/test-about-support.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-about-support';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'content-tab-helpers',
                        'compose-helpers', 'window-helpers'];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 Cu.importGlobalProperties(["DOMParser"]);
--- a/mail/test/mozmill/content-tabs/test-addons-mgr.js
+++ b/mail/test/mozmill/content-tabs/test-addons-mgr.js
@@ -1,14 +1,16 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 // make SOLO_TEST=content-tabs/test-addons-mgr.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-addons-mgr";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "content-tab-helpers",
                        "window-helpers"];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/content-tabs/test-content-tab.js
+++ b/mail/test/mozmill/content-tabs/test-content-tab.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-content-tab';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'content-tab-helpers',
                        'dom-helpers', 'window-helpers'];
 
 var controller = {};
 ChromeUtils.import("chrome://mozmill/content/modules/controller.js", controller);
--- a/mail/test/mozmill/content-tabs/test-install-xpi.js
+++ b/mail/test/mozmill/content-tabs/test-install-xpi.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-install-xpi';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['window-helpers', 'folder-display-helpers',
                        'content-tab-helpers'];
 
 var controller = {};
 ChromeUtils.import("chrome://mozmill/content/modules/controller.js", controller);
--- a/mail/test/mozmill/content-tabs/test-lwthemes.js
+++ b/mail/test/mozmill/content-tabs/test-lwthemes.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * The purpose of this test is to check that lightweight theme installation
  * works correctly.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-lwthemes";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "content-tab-helpers"];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
 
--- a/mail/test/mozmill/content-tabs/test-plugin-blocked.js
+++ b/mail/test/mozmill/content-tabs/test-plugin-blocked.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-plugin-blocked';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'content-tab-helpers'];
 
 ChromeUtils.import('resource://gre/modules/Services.jsm');
 
 var gOldStartUrl = null;
--- a/mail/test/mozmill/content-tabs/test-plugin-crashing.js
+++ b/mail/test/mozmill/content-tabs/test-plugin-crashing.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-plugin-crashing';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'content-tab-helpers'];
 
 var frame = {};
 ChromeUtils.import("chrome://mozmill/content/modules/frame.js", frame);
 
--- a/mail/test/mozmill/content-tabs/test-plugin-outdated.js
+++ b/mail/test/mozmill/content-tabs/test-plugin-outdated.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-plugin-outdated';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'content-tab-helpers'];
 
 ChromeUtils.import('resource://gre/modules/Services.jsm');
 
 var gOldStartUrl = null;
--- a/mail/test/mozmill/cookies/test-cookies.js
+++ b/mail/test/mozmill/cookies/test-cookies.js
@@ -3,24 +3,23 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Test file to check that cookies are correctly enabled in Thunderbird.
  *
  * XXX: Still need to check remote content in messages.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-cookies';
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ['window-helpers', 'content-tab-helpers', 'folder-display-helpers'];
 
-var mozmill = {}; ChromeUtils.import("chrome://mozmill/content/modules/mozmill.js", mozmill);
-var elementslib = {}; ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elementslib);
-
 // RELATIVE_ROOT messes with the collector, so we have to bring the path back
 // so we get the right path for the resources.
 var url = collector.addHttpResource('../cookies/html', 'cookies');
 
 function setupModule(module) {
   let fdh = collector.getModule("folder-display-helpers");
   fdh.installInto(module);
   let wh = collector.getModule('window-helpers');
--- a/mail/test/mozmill/downloads/test-about-downloads.js
+++ b/mail/test/mozmill/downloads/test-about-downloads.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Test about:downloads.
  */
 
 // make SOLO_TEST=downloads/test-about-downloads.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-about-downloads";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = [ 'attachment-helpers',
                         'content-tab-helpers',
                         'dom-helpers',
                         'folder-display-helpers',
                         'prompt-helpers',
--- a/mail/test/mozmill/folder-display/test-archive-messages.js
+++ b/mail/test/mozmill/folder-display/test-archive-messages.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-archive-messages';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
 var folder;
 
 /**
--- a/mail/test/mozmill/folder-display/test-close-window-on-delete.js
+++ b/mail/test/mozmill/folder-display/test-close-window-on-delete.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that the close message window on delete option works.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-close-window-on-delete';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
 var folder;
 
 function setupModule(module) {
--- a/mail/test/mozmill/folder-display/test-columns.js
+++ b/mail/test/mozmill/folder-display/test-columns.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
 
 // needed to zero inter-folder processing delay
 ChromeUtils.import("resource:///modules/MailUtils.js");
 
 
 /*
--- a/mail/test/mozmill/folder-display/test-deletion-from-virtual-folders.js
+++ b/mail/test/mozmill/folder-display/test-deletion-from-virtual-folders.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that deleting messages works from a virtual folder.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-deletion-from-virtual-folders';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
 var baseFolder, folder, lastMessageFolder;
 
 var tabFolder, tabMessage, tabMessageBackground, curMessage, nextMessage;
--- a/mail/test/mozmill/folder-display/test-deletion-with-multiple-displays.js
+++ b/mail/test/mozmill/folder-display/test-deletion-with-multiple-displays.js
@@ -4,16 +4,19 @@
 
 /*
  * Test that deleting a message in a given tab or window properly updates both
  *  that tab/window as well as all other tabs/windows.  We also test that the
  *  message tab title updates appropriately through all of this. We do all of
  *  this both for tabs that have ever been opened in the foreground, and tabs
  *  that haven't (and thus might have fake selections).
  */
+
+"use strict";
+
 var MODULE_NAME = 'test-deletion-with-multiple-displays';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
 var folder, lastMessageFolder, oneBeforeFolder, oneAfterFolder,
     multipleDeletionFolder1, multipleDeletionFolder2, multipleDeletionFolder3,
     multipleDeletionFolder4;
--- a/mail/test/mozmill/folder-display/test-display-name.js
+++ b/mail/test/mozmill/folder-display/test-display-name.js
@@ -1,16 +1,19 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that the display names in email addresses are correctly shown in the
  * thread pane.
  */
+
+"use strict";
+
 var MODULE_NAME = "test-display-name";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "address-book-helpers"];
 
 var folder;
 
 var messages = [
--- a/mail/test/mozmill/folder-display/test-displaying-messages-in-folder-tabs.js
+++ b/mail/test/mozmill/folder-display/test-displaying-messages-in-folder-tabs.js
@@ -4,16 +4,18 @@
 
 /*
  * Test displaying messages in folder tabs. This is supposed to test a variety
  * of situations, including:
  * - dropping view filters to select the message
  * - displaying the message in an existing folder tab
  */
 
+"use strict";
+
 var MODULE_NAME = "test-displaying-messages-in-folder-tabs";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                        "search-window-helpers"];
 
 var folderA;
 var folderB;
--- a/mail/test/mozmill/folder-display/test-folder-pane-visibility.js
+++ b/mail/test/mozmill/folder-display/test-folder-pane-visibility.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that the folder pane collapses properly, stays collapsed amongst tab
  * changes, and that persistence works (to a first approximation).
  */
 
+"use strict";
+
 var MODULE_NAME = "test-folder-pane-visibility";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 var folder;
 
 function setupModule(module) {
--- a/mail/test/mozmill/folder-display/test-folder-toolbar.js
+++ b/mail/test/mozmill/folder-display/test-folder-toolbar.js
@@ -1,16 +1,19 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that opening new folder and message tabs has the expected result and
  *  that closing them doesn't break anything.
  */
+
+"use strict";
+
 var MODULE_NAME = "test-folder-toolbar";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 var folderA, folderB;
 
 function setupModule(module)
--- a/mail/test/mozmill/folder-display/test-invalid-db-folder-load.js
+++ b/mail/test/mozmill/folder-display/test-invalid-db-folder-load.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that clicking on a folder with an invalid or missing .msf file
  * regenerates the.msf file and loads the view.
  * Also, check that rebuilding the index on a loaded folder reloads the folder.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-invalid-db-folder-load';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
 var folder;
 var setA;
 var curMessage;
--- a/mail/test/mozmill/folder-display/test-mail-views.js
+++ b/mail/test/mozmill/folder-display/test-mail-views.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-mail-views';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
 var baseFolder, savedFolder;
 var setUntagged, setTagged;
 
--- a/mail/test/mozmill/folder-display/test-message-commands-on-msgstore.js
+++ b/mail/test/mozmill/folder-display/test-message-commands-on-msgstore.js
@@ -3,16 +3,19 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * This tests some commands on messages via the UI. But we specifically check,
  * whether the commands have an effect in the message store on disk, i.e. the
  * markings on the messages are stored in the msgStore, not only in the database.
  * For now, it checks for bug 840418.
  */
+
+"use strict";
+
 var MODULE_NAME = "test-message-commands-on-msgstore";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers",
                          "compose-helpers",
                          "window-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
--- a/mail/test/mozmill/folder-display/test-message-commands.js
+++ b/mail/test/mozmill/folder-display/test-message-commands.js
@@ -2,16 +2,19 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * This tests various commands on messages. This is primarily for commands
  * that can't be tested with xpcshell tests because they're handling in the
  * front end - which is why Archive is the only command currently tested.
  */
+
+"use strict";
+
 var MODULE_NAME = 'test-message-commands';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'content-tab-helpers',
                        'window-helpers'];
 
 ChromeUtils.import("resource:///modules/MailUtils.js");
 ChromeUtils.import("resource://gre/modules/Services.jsm");
--- a/mail/test/mozmill/folder-display/test-message-pane-visibility.js
+++ b/mail/test/mozmill/folder-display/test-message-pane-visibility.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that the message pane collapses properly, stays collapsed amongst tab
  *  changes, and that persistence works (to a first approximation).
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-message-pane-visibility';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
 var folder;
 
 function setupModule(module) {
--- a/mail/test/mozmill/folder-display/test-message-reloads.js
+++ b/mail/test/mozmill/folder-display/test-message-reloads.js
@@ -1,16 +1,19 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that message reloads happen properly when the message pane is hidden,
  * and then made visible again.
  */
+
+"use strict";
+
 var MODULE_NAME = "test-message-reloads";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers"];
 
 var folder;
 
 function setupModule(module) {
--- a/mail/test/mozmill/folder-display/test-message-size.js
+++ b/mail/test/mozmill/folder-display/test-message-size.js
@@ -2,16 +2,19 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that the size column of in the message list is formatted properly (e.g.
    0.1 KB, 1.2 KB, 12.3 KB, 123 KB, and likewise for MB and GB).
  */
+
+"use strict";
+
 var MODULE_NAME = 'test-message-size';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers'];
 
 var folder;
 
 function setupModule(module) {
--- a/mail/test/mozmill/folder-display/test-message-window.js
+++ b/mail/test/mozmill/folder-display/test-message-window.js
@@ -1,16 +1,19 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that we can open and close a standalone message display window from the
  *  folder pane.
  */
+
+"use strict";
+
 var MODULE_NAME = 'test-message-window';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
 var folderA, folderB;
 var curMessage;
 
--- a/mail/test/mozmill/folder-display/test-opening-messages-without-a-backing-view.js
+++ b/mail/test/mozmill/folder-display/test-opening-messages-without-a-backing-view.js
@@ -2,16 +2,19 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that messages without a backing view are opened correctly. Examples of
  * messages without a backing view are those opened from the command line or
  * desktop search integration results.
  */
+
+"use strict";
+
 var MODULE_NAME = 'test-opening-messages-without-a-backing-view';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
 ChromeUtils.import("resource:///modules/MailUtils.js");
 
 // One folder's enough
--- a/mail/test/mozmill/folder-display/test-opening-messages.js
+++ b/mail/test/mozmill/folder-display/test-opening-messages.js
@@ -10,16 +10,19 @@
  * Currently tested:
  * - opening single and multiple messages in tabs
  * - opening a single message in a window. (Multiple messages require a fair
  *   amount of additional work and are hard to test. We're also assuming here
  *   that multiple messages opened in windows are just the same function called
  *   repeatedly.)
  * - reusing an existing window to show another message
  */
+
+"use strict";
+
 var MODULE_NAME = 'test-opening-messages';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
 // One folder's enough
 var folder = null;
 
--- a/mail/test/mozmill/folder-display/test-pane-focus.js
+++ b/mail/test/mozmill/folder-display/test-pane-focus.js
@@ -1,15 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that cycling through the focus of the 3pane's panes works correctly.
  */
+
+"use strict";
+
 var MODULE_NAME = "test-pane-focus";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers"];
 
 var folder;
 
 function setupModule(module) {
--- a/mail/test/mozmill/folder-display/test-recent-menu.js
+++ b/mail/test/mozmill/folder-display/test-recent-menu.js
@@ -2,16 +2,19 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * This tests the move/copy to recent folder menus to make sure
  * that they get updated when messages are moved to folders, and
  * don't get updated when we archive.
  */
+
+"use strict";
+
 ChromeUtils.import("resource:///modules/MailUtils.js");
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 
 var MODULE_NAME = 'test-recent-menu';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
--- a/mail/test/mozmill/folder-display/test-right-click-middle-click-folders.js
+++ b/mail/test/mozmill/folder-display/test-right-click-middle-click-folders.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test the many horrors involving right-clicks, middle clicks, and
  * selections... on folders!
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-right-click-middle-click-folders';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
 var folderA, folderB, folderC;
 
 function setupModule(module) {
--- a/mail/test/mozmill/folder-display/test-right-click-middle-click-messages.js
+++ b/mail/test/mozmill/folder-display/test-right-click-middle-click-messages.js
@@ -1,24 +1,26 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
-var elib = {};
-ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
-
 /*
  * Test the many horrors involving right-clicks, middle clicks, and selections.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-right-click-middle-click-messages';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
+var elib = {};
+ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
+
 var folder, threadedFolder;
 
 /**
  * The number of messages in the thread we use to test.
  */
 var NUM_MESSAGES_IN_THREAD = 6;
 
 function setupModule(module) {
--- a/mail/test/mozmill/folder-display/test-savedsearch-reload-after-compact.js
+++ b/mail/test/mozmill/folder-display/test-savedsearch-reload-after-compact.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Test reload of saved searches over local folders after compaction
  * of local folders.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-savedsearch-reload-after-compact";
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
 var folderInbox, folderVirtual;
 
 function setupModule(module) {
--- a/mail/test/mozmill/folder-display/test-selection.js
+++ b/mail/test/mozmill/folder-display/test-selection.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-selection';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers'];
 
 // let us have 2 folders
 var folder = null, folder2 = null;
 
--- a/mail/test/mozmill/folder-display/test-summarization.js
+++ b/mail/test/mozmill/folder-display/test-summarization.js
@@ -12,16 +12,18 @@
  *  selection / tabbing tests, but are intended to specifically exercise the
  *  summarization logic and edge cases.  (Although general selection tests and
  *  tab tests may do the same thing too...)
  *
  * Things we don't test but should:
  * - The difference between thread summary and multi-message summary.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-summarization';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'address-book-helpers'];
 
 var folder;
 var thread1, thread2, msg1, msg2;
 
--- a/mail/test/mozmill/folder-display/test-tabs-simple.js
+++ b/mail/test/mozmill/folder-display/test-tabs-simple.js
@@ -5,16 +5,19 @@
 /*
  * Test that opening new folder and message tabs has the expected result and
  * that closing them doesn't break anything.  sid0 added checks for focus
  * transitions at one point; I (asuth) am changing our test infrastructure to
  * cause more realistic focus changes so those changes now look sillier
  * because in many cases we are explicitly setting focus back after the thread
  * tree gains focus.
  */
+
+"use strict";
+
 var MODULE_NAME = 'test-tabs-simple';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
 var folderA, folderB, setA, setB;
 
 function setupModule(module) {
--- a/mail/test/mozmill/folder-display/test-tooltip-multimessage.js
+++ b/mail/test/mozmill/folder-display/test-tooltip-multimessage.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * This just tests that tooltips work properly in the multimessage <browser>
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-tooltip-multimessage';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers'];
 
 var folder;
 
 var setupModule = function(module) {
--- a/mail/test/mozmill/folder-display/test-virtual-folder-commands.js
+++ b/mail/test/mozmill/folder-display/test-virtual-folder-commands.js
@@ -1,15 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that commands on virtual folders work properly.
  */
+
+"use strict";
+
 var MODULE_NAME = "test-virtual-folder-commands";
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers'];
 
 var msgsPerThread = 5;
 var singleVirtFolder;
 var multiVirtFolder;
--- a/mail/test/mozmill/folder-display/test-watch-ignore-thread.js
+++ b/mail/test/mozmill/folder-display/test-watch-ignore-thread.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that "watch thread" and "ignore thread" works correctly.
  */
 
 // make SOLO_TEST=folder-display/test-watch-ignore-thread.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-watch-ignore-thread";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers"];
 
 var folder;
 var thread1, thread2, thread3;
 
--- a/mail/test/mozmill/folder-pane/test-display-message-with-folder-modes.js
+++ b/mail/test/mozmill/folder-pane/test-display-message-with-folder-modes.js
@@ -7,16 +7,18 @@
  * modes. This includes:
  * - switching to the default folder mode if the folder isn't present in the
  *   current folder mode
  * - not switching otherwise
  * - making sure that we're able to expand the right folders in the smart folder
  *   mode
  */
 
+"use strict";
+
 var MODULE_NAME = "test-display-message-with-folder-modes";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers"];
 
 var folder;
 var dummyFolder;
 var inbox2Folder;
--- a/mail/test/mozmill/folder-pane/test-folder-names-in-recent-mode.js
+++ b/mail/test/mozmill/folder-pane/test-folder-names-in-recent-mode.js
@@ -1,15 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Test that the folder names have account name appended when in "recent" view.
  */
+
+"use strict";
+
 var MODULE_NAME = "test-folder-names-in-recent-mode";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers"];
 
 ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
 
 function setupModule(module) {
--- a/mail/test/mozmill/folder-pane/test-folder-pane-consumers.js
+++ b/mail/test/mozmill/folder-pane/test-folder-pane-consumers.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Tests for other dialogs using the tree view implementation in folderPane.js.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-folder-pane';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                        "nntp-helpers"];
 
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 
--- a/mail/test/mozmill/folder-pane/test-folder-pane.js
+++ b/mail/test/mozmill/folder-pane/test-folder-pane.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Tests for the folder pane, in particular the tree view. This is kept separate
  * from the main folder-display suite so that the folders created by other tests
  * there don't influence the results here.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-folder-pane';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers'];
 
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 
 function setupModule(module) {
--- a/mail/test/mozmill/folder-tree-modes/test-custom-folder-tree-mode.js
+++ b/mail/test/mozmill/folder-tree-modes/test-custom-folder-tree-mode.js
@@ -3,16 +3,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Tests for custom folder tree modes. The test mode is provided by the test
  * extension in the test-extension subdirectory.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-custom-folder-tree-mode";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 var gInbox;
 
 function setupModule(module) {
--- a/mail/test/mozmill/folder-tree-modes/test-custom-smart-folder.js
+++ b/mail/test/mozmill/folder-tree-modes/test-custom-smart-folder.js
@@ -2,16 +2,19 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Tests for custom folder tree modes. The test mode is provided by the test
  * extension in the test-extension subdirectory.
  */
+
+"use strict";
+
 var MODULE_NAME = "test-custom-smart-folder";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 // spaces in the name are intentional
 var smartParentNameA="My Smart Folder A";
 var smartParentNameB="My Smart Folder B";
--- a/mail/test/mozmill/folder-tree-modes/test-extension/bootstrap.js
+++ b/mail/test/mozmill/folder-tree-modes/test-extension/bootstrap.js
@@ -1,13 +1,15 @@
 /* -*- Mode: JavaScript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 ChromeUtils.import("resource:///modules/extensionSupport.jsm");
 
 //const addonID = "testfoldertreemode@mozilla.org";
 
 function install() {}
 
 function uninstall() {}
 
--- a/mail/test/mozmill/folder-tree-modes/test-mode-switching.js
+++ b/mail/test/mozmill/folder-tree-modes/test-mode-switching.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Bug 978592.
  * Test that switching folder modes via menu works and also compact versions
  * can be toggled properly.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-mode-switching";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 var rootFolder;
 var inboxFolder;
 var unreadFolder;
--- a/mail/test/mozmill/folder-tree-modes/test-smart-folders.js
+++ b/mail/test/mozmill/folder-tree-modes/test-smart-folders.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that the smart folder mode works properly. This includes checking
  * whether |getParentOfFolder| works, and also making sure selectFolder behaves
  * properly, opening the right folders.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-smart-folders";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers"];
 
 var rootFolder;
 var inboxSubfolder;
 var trashFolder;
--- a/mail/test/mozmill/folder-tree-modes/test-unread-folders.js
+++ b/mail/test/mozmill/folder-tree-modes/test-unread-folders.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that the unread folder mode works properly. This includes making
  * sure that the selected folder is maintained correctly when the view
  * is rebuilt because a folder has become newly unread.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-unread-folders";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers"];
 
 var rootFolder;
 var inboxSubfolder;
 var trashFolder;
--- a/mail/test/mozmill/folder-widget/test-message-filters.js
+++ b/mail/test/mozmill/folder-widget/test-message-filters.js
@@ -1,15 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test various properties of the message filters.
  */
+
+"use strict";
+
 var MODULE_NAME = "test-message-filters";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                        "nntp-helpers", "address-book-helpers",
                        "prompt-helpers"];
 
 var elib = {};
--- a/mail/test/mozmill/im/test-chat-tab-restore.js
+++ b/mail/test/mozmill/im/test-chat-tab-restore.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-chat-tab-restore';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers'];
 
 /**
  * Create a new chat tab, making that tab the current tab. We block until the
  * message finishes loading. (Inspired by open_selected_message_in_new_tab)
--- a/mail/test/mozmill/im/test-toolbar-buttons.js
+++ b/mail/test/mozmill/im/test-toolbar-buttons.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-toolbar-buttons';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers'];
 
 ChromeUtils.import("resource:///modules/imServices.jsm");
 
 function setupModule(module) {
--- a/mail/test/mozmill/instrumentation/test-instrument-setup.js
+++ b/mail/test/mozmill/instrumentation/test-instrument-setup.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "test-instrument-setup";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                        "keyboard-helpers" ];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/junk-commands/test-junk-commands.js
+++ b/mail/test/mozmill/junk-commands/test-junk-commands.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-junk-commands';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'junk-helpers'];
 
 var os = {};
 ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
 
--- a/mail/test/mozmill/keyboard/test-spacehit.js
+++ b/mail/test/mozmill/keyboard/test-spacehit.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that the space bar only advances to the next unread message
  * when mail.advance_on_spacebar is true (default).
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-spacehit';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers'];
 
 // Get original preference value
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 var prefName = "mail.advance_on_spacebar";
--- a/mail/test/mozmill/message-header/test-header-toolbar.js
+++ b/mail/test/mozmill/message-header/test-header-toolbar.js
@@ -1,15 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that we can add a tag to a message without messing up the header.
  */
+
+"use strict";
+
 var MODULE_NAME = 'test-header-toolbar';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers',
                        'address-book-helpers', 'mouse-event-helpers',
                        'customization-helpers'];
 
 var elib = {};
--- a/mail/test/mozmill/message-header/test-message-header.js
+++ b/mail/test/mozmill/message-header/test-message-header.js
@@ -4,16 +4,18 @@
 
 /**
  * Test functionality in the message header, e.g. tagging, contact editing,
  * the more button ...
  */
 
 // make SOLO_TEST=message-header/test-message-header.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = 'test-message-header';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers',
                        'address-book-helpers', 'dom-helpers'];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/message-header/test-phishing-bar.js
+++ b/mail/test/mozmill/message-header/test-phishing-bar.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Test that the phishing notification behaves properly.
  */
 
 // make SOLO_TEST=message-header/test-phishing-bar.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-phishing-bar";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers",
                          "window-helpers", "notificationbox-helpers"];
 
 var os = {};
 ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
--- a/mail/test/mozmill/message-header/test-reply-identity.js
+++ b/mail/test/mozmill/message-header/test-reply-identity.js
@@ -3,16 +3,18 @@
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that actions such as replying choses the most suitable identity.
  */
 
 // make SOLO_TEST=message-header/test-reply-identity.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-reply-identity";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers",
                          "window-helpers", "compose-helpers"];
 
 var folderHelper = null;
 var windowindowHelperelper = null;
--- a/mail/test/mozmill/message-header/test-reply-to-list-from-address-selection.js
+++ b/mail/test/mozmill/message-header/test-reply-to-list-from-address-selection.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  *  Test for the most suitable identity in From address for reply-to-list
  */
 
+"use strict";
+
 var MODULE_NAME = "test-reply-to-list-from-address-selection";
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers',
                        'window-helpers', 'compose-helpers'];
 
 var folderHelper = null;
 var windowindowHelperelper = null;
--- a/mail/test/mozmill/message-header/test-return-receipt.js
+++ b/mail/test/mozmill/message-header/test-return-receipt.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test return receipt (MDN) stuff.
  */
 
 // make SOLO_TEST=message-header/test-return-receipt.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-return-receipt";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                         "notificationbox-helpers"];
 
 var folder;
 
--- a/mail/test/mozmill/message-reader/test-bug594646.js
+++ b/mail/test/mozmill/message-reader/test-bug594646.js
@@ -4,16 +4,18 @@
  * You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
 /**
  * Tests that opening an .eml file the body of the message is correct,
  * that it hasn't been UTF-8 mojibake'd.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-bug594646";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 var os = {};
 ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
 
--- a/mail/test/mozmill/message-window/test-autohide-menubar.js
+++ b/mail/test/mozmill/message-window/test-autohide-menubar.js
@@ -1,15 +1,17 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /* Test that the menubar can be set to "autohide". This should only have an
    effect on Windows. */
 
+"use strict";
+
 var MODULE_NAME = "test-autohide-menubar";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "address-book-helpers",
                        "compose-helpers"];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/message-window/test-commands.js
+++ b/mail/test/mozmill/message-window/test-commands.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "test-commands";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/message-window/test-eml-subject.js
+++ b/mail/test/mozmill/message-window/test-eml-subject.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that opening an .eml file with empty subject works.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-eml-subject";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 var os = {};
 ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
 ChromeUtils.import("resource:///modules/StringBundle.js");
--- a/mail/test/mozmill/message-window/test-message-sidebar.js
+++ b/mail/test/mozmill/message-window/test-message-sidebar.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-message-sidebar';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['window-helpers'];
 
 var windowHelper;
 var mc;
 
--- a/mail/test/mozmill/message-window/test-vcard-actions.js
+++ b/mail/test/mozmill/message-window/test-vcard-actions.js
@@ -3,16 +3,18 @@
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests for attached vcards.
  */
 
 // make SOLO_TEST=message-window/test-vcard-actions.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-vcard-actions";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                        "address-book-helpers"];
 
 var os = {};
 ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
--- a/mail/test/mozmill/message-window/test-view-plaintext.js
+++ b/mail/test/mozmill/message-window/test-view-plaintext.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that the plain text part of multipart/alternative messages can be correctly viewed.
  */
 
 // mozmake SOLO_TEST=message-window/test-view-plaintext.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-view-plaintext";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 var os = {};
 ChromeUtils.import("chrome://mozmill/content/stdlib/os.js", os);
--- a/mail/test/mozmill/migration-to-rdf-ui-2/test-migrate-to-rdf-ui-2.js
+++ b/mail/test/mozmill/migration-to-rdf-ui-2/test-migrate-to-rdf-ui-2.js
@@ -4,16 +4,18 @@
 
 /**
  * When moving from ui-rdf 0 to 1, we ensure that we've removed the collapsed
  * property from the folderPaneBox, but that we still persist width.
  */
 
 // make SOLO_TEST=migration-to-rdf-ui-2/test-migrate-to-rdf-ui-2.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = "test-migrate-to-rdf-ui-2";
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 
 function setupModule(module) {
   collector.getModule("folder-display-helpers").installInto(module);
--- a/mail/test/mozmill/migration-to-rdf-ui-3/test-migrate-to-rdf-ui-3.js
+++ b/mail/test/mozmill/migration-to-rdf-ui-3/test-migrate-to-rdf-ui-3.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * When moving from ui-rdf 0 to 1, we ensure that we've removed the collapsed
  * property from the folderPaneBox, but that we still persist width.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-migrate-to-rdf-ui-3";
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 
 function setupModule(module) {
   collector.getModule("folder-display-helpers").installInto(module);
--- a/mail/test/mozmill/migration-to-rdf-ui-5/test-migrate-to-rdf-ui-5.js
+++ b/mail/test/mozmill/migration-to-rdf-ui-5/test-migrate-to-rdf-ui-5.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * When moving from ui-rdf 4 to 5, we ensure that we've added the App Menu
  * button to the mail toolbar, and that we've collapsed the main menu.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-migrate-to-rdf-ui-5";
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers"];
 
 var kAppMenuButton = "button-appmenu";
 
 function setupModule(module) {
   collector.getModule("folder-display-helpers").installInto(module);
--- a/mail/test/mozmill/multiple-identities/test-display-names.js
+++ b/mail/test/mozmill/multiple-identities/test-display-names.js
@@ -1,16 +1,19 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that we can open and close a standalone message display window from the
  *  folder pane.
  */
+
+"use strict";
+
 var MODULE_NAME = "test-display-names";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "address-book-helpers"];
 
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 
--- a/mail/test/mozmill/newmailaccount/test-newmailaccount.js
+++ b/mail/test/mozmill/newmailaccount/test-newmailaccount.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests the get an account (account provisioning) workflow.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-newmailaccount';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers',
                        'content-tab-helpers',
                        'window-helpers',
                        'newmailaccount-helpers',
                        'keyboard-helpers',
--- a/mail/test/mozmill/notification/test-notification.js
+++ b/mail/test/mozmill/notification/test-notification.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-notifications';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers'];
 
 ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 ChromeUtils.import("resource://gre/modules/Services.jsm");
--- a/mail/test/mozmill/override-main-menu-collapse/test-override-mainmenu-collapse.js
+++ b/mail/test/mozmill/override-main-menu-collapse/test-override-mainmenu-collapse.js
@@ -3,16 +3,18 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that the main menu will NOT be collapsed by default if Thunderbird
  * starts with no accounts created, and mail.main_menu.collapse_by_default set
  * to false.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-override-mainmenu-collapse";
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers",
                        "window-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 
 function setupModule(module) {
--- a/mail/test/mozmill/pref-window/test-attachments-pane.js
+++ b/mail/test/mozmill/pref-window/test-attachments-pane.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests the manager for attachment storage services
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-attachments-pane';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers',
                        'pref-window-helpers',
                        "content-tab-helpers"];
 
 function setupModule(module) {
--- a/mail/test/mozmill/pref-window/test-font-chooser.js
+++ b/mail/test/mozmill/pref-window/test-font-chooser.js
@@ -5,16 +5,18 @@
 
 /*
  * Test various things about the font chooser window, including
  * - whether if the font defined in font.name.<style>.<language> is not present
  * on the computer, we fall back to displaying what's in
  * font.name-list.<style>.<language>.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-font-chooser";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers",
                        "pref-window-helpers", "content-tab-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 ChromeUtils.import("resource://gre/modules/AppConstants.jsm");
--- a/mail/test/mozmill/quick-filter-bar/test-display-issues.js
+++ b/mail/test/mozmill/quick-filter-bar/test-display-issues.js
@@ -4,16 +4,18 @@
 
 /*
  * Test things of a visual nature.
  *
  * Note: this test requires a screen resolution of 1280 x 1024 which is standard on
  * the unit test machines (see also testing/machine-configuration.json).
  */
 
+"use strict";
+
 var MODULE_NAME = "test-display-issues";
 
 var RELATIVE_ROOT = '../shared-modules';
 
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers',
                        'quick-filter-bar-helper'];
 
 var folder;
--- a/mail/test/mozmill/quick-filter-bar/test-filter-logic.js
+++ b/mail/test/mozmill/quick-filter-bar/test-filter-logic.js
@@ -4,16 +4,18 @@
 
 /**
  * Verify that we are constructing the filters that we expect and that they
  * are hooked up to the right buttons.
  */
 
 // make SOLO_TEST=quick-filter-bar/test-filter-logic.js mozmill-one
 
+"use strict";
+
 var MODULE_NAME = 'test-filter-logic';
 
 var RELATIVE_ROOT = '../shared-modules';
 
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers',
                        'quick-filter-bar-helper'];
 
 function setupModule(module) {
--- a/mail/test/mozmill/quick-filter-bar/test-keyboard-interface.js
+++ b/mail/test/mozmill/quick-filter-bar/test-keyboard-interface.js
@@ -4,16 +4,18 @@
 
 /**
  * Tests keyboard stuff that doesn't fall under some other test's heading.
  * Namely, control-shift-k toggling the bar into existence happens in
  * test-toggle-bar.js, but we test that repeatedly hitting control-shift-k
  * selects the text entered in the quick filter bar.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-keyboard-interface';
 
 var RELATIVE_ROOT = '../shared-modules';
 
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers',
                        'quick-filter-bar-helper'];
 
 var folder;
--- a/mail/test/mozmill/quick-filter-bar/test-sticky-filter-logic.js
+++ b/mail/test/mozmill/quick-filter-bar/test-sticky-filter-logic.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Sticky logic only needs to test the general sticky logic plus any filters
  *  with custom propagateState implementations (currently: tags, text filter.)
  */
 
+"use strict";
+
 var MODULE_NAME = "test-sticky-filter-logic";
 
 var RELATIVE_ROOT = '../shared-modules';
 
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers',
                        'quick-filter-bar-helper'];
 
 function setupModule(module) {
--- a/mail/test/mozmill/quick-filter-bar/test-toggle-bar.js
+++ b/mail/test/mozmill/quick-filter-bar/test-toggle-bar.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that the message filter bar toggles into and out of existence and
  * states are updated as appropriate.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-toggle-bar';
 
 var RELATIVE_ROOT = '../shared-modules';
 
 var MODULE_REQUIRES = ['folder-display-helpers', 'window-helpers',
                        'quick-filter-bar-helper'];
 
 var folder;
--- a/mail/test/mozmill/search-window/test-multiple-search-windows.js
+++ b/mail/test/mozmill/search-window/test-multiple-search-windows.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test that we open multiple search windows when shortcuts are invoked multiple
  * times.
  */
 
+"use strict";
+
 var MODULE_NAME = 'test-multiple-search-windows';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'search-window-helpers'];
 
 var folderA, folderB;
 function setupModule(module) {
   let fdh = collector.getModule('folder-display-helpers');
--- a/mail/test/mozmill/search-window/test-right-click-to-open-search-window.js
+++ b/mail/test/mozmill/search-window/test-right-click-to-open-search-window.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = 'test-right-click-to-open-search-window';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'search-window-helpers'];
 
 var folderA, folderB;
 function setupModule(module) {
   let fdh = collector.getModule('folder-display-helpers');
--- a/mail/test/mozmill/search-window/test-search-window.js
+++ b/mail/test/mozmill/search-window/test-search-window.js
@@ -1,16 +1,19 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Tests:
  * - https://bugzilla.mozilla.org/show_bug.cgi?id=474701#c96 first para
  */
+
+"use strict";
+
 var MODULE_NAME = 'test-search-window';
 
 var RELATIVE_ROOT = '../shared-modules';
 var MODULE_REQUIRES = ['folder-display-helpers', 'search-window-helpers',
                        'window-helpers'];
 
 function setupModule(module) {
   let fdh = collector.getModule('folder-display-helpers');
--- a/mail/test/mozmill/session-store/test-session-store.js
+++ b/mail/test/mozmill/session-store/test-session-store.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Session Storage Tests. Session Restoration Tests are currently implemented in
  * folder-display/test-message-pane-visibility.js.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-session-store";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 var controller = {};
 ChromeUtils.import("chrome://mozmill/content/modules/controller.js", controller);
 
--- a/mail/test/mozmill/shared-modules/test-account-manager-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-account-manager-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "account-manager-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 // we need this for the main controller
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 var utils = {};
 ChromeUtils.import("chrome://mozmill/content/modules/utils.js", utils);
--- a/mail/test/mozmill/shared-modules/test-address-book-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-address-book-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "address-book-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 
--- a/mail/test/mozmill/shared-modules/test-attachment-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-attachment-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "attachment-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["mock-object-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
 
--- a/mail/test/mozmill/shared-modules/test-cloudfile-backend-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-cloudfile-backend-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "cloudfile-backend-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["window-helpers"];
 
 ChromeUtils.import('resource://gre/modules/XPCOMUtils.jsm');
 
 var kUserAuthRequested = "cloudfile:auth";
--- a/mail/test/mozmill/shared-modules/test-cloudfile-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-cloudfile-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
   * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "cloudfile-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "mock-object-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
 var os = {};
--- a/mail/test/mozmill/shared-modules/test-cloudfile-hightail-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-cloudfile-hightail-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "cloudfile-hightail-helpers";
 
 ChromeUtils.import("chrome://mozmill/content/stdlib/httpd.js");
 ChromeUtils.import('resource://gre/modules/Services.jsm');
 ChromeUtils.import('resource:///modules/cloudFileAccounts.js');
 
 var kDefaultServerPort = 4444;
 var kServerRoot = "http://localhost:" + kDefaultServerPort;
--- a/mail/test/mozmill/shared-modules/test-compose-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-compose-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "compose-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 // we need this for the main controller
 var MODULE_REQUIRES = ["folder-display-helpers",
                          "window-helpers",
                          "dom-helpers"];
 
--- a/mail/test/mozmill/shared-modules/test-content-tab-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-content-tab-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "content-tab-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 // we need this for the main controller
 var MODULE_REQUIRES = ["folder-display-helpers",
                          "window-helpers",
                          "mock-object-helpers"];
 
--- a/mail/test/mozmill/shared-modules/test-customization-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-customization-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "customization-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/shared-modules/test-dom-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-dom-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "dom-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 // we need this for the main controller
 var MODULE_REQUIRES = ["folder-display-helpers"];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/shared-modules/test-folder-display-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-folder-display-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "folder-display-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 // we need window-helpers for augment_controller
 var MODULE_REQUIRES = ["window-helpers"];
 
 var EventUtils = {};
 ChromeUtils.import("chrome://mozmill/content/stdlib/EventUtils.js", EventUtils);
--- a/mail/test/mozmill/shared-modules/test-junk-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-junk-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "junk-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 // we need this for the main controller
 var MODULE_REQUIRES = ["folder-display-helpers"];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/shared-modules/test-keyboard-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-keyboard-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "keyboard-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = [];
 
 function installInto(module) {
   // Now copy helper functions
   module.input_value = input_value;
--- a/mail/test/mozmill/shared-modules/test-message-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-message-helpers.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Helpers to deal with message (nsIMsgDBHdr) parsing.
  */
 
+"use strict";
+
 var MODULE_NAME = "message-helpers";
 
 var frame = {};
 ChromeUtils.import("chrome://mozmill/content/modules/frame.js", frame);
 var utils = {};
 ChromeUtils.import("chrome://mozmill/content/modules/utils.js", utils);
 
 ChromeUtils.import("resource:///modules/gloda/mimemsg.js");
--- a/mail/test/mozmill/shared-modules/test-mock-object-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-mock-object-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
   * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "mock-object-helpers";
 
 var Cm = Components.manager;
 
 function installInto(module) {
   module.MockObjectReplacer = MockObjectReplacer;
   module.MockObjectRegisterer = MockObjectRegisterer;
 }
--- a/mail/test/mozmill/shared-modules/test-mouse-event-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-mouse-event-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "mouse-event-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers"];
 
 var EventUtils = {};
 ChromeUtils.import("chrome://mozmill/content/stdlib/EventUtils.js", EventUtils);
 
--- a/mail/test/mozmill/shared-modules/test-newmailaccount-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-newmailaccount-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "newmailaccount-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "keyboard-helpers",
                        "dom-helpers"];
 
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
--- a/mail/test/mozmill/shared-modules/test-nntp-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-nntp-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "nntp-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULES_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 ChromeUtils.import("resource:///modules/MailServices.jsm");
 
--- a/mail/test/mozmill/shared-modules/test-notificationbox-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-notificationbox-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "notificationbox-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = [];
 
 function installInto(module) {
   module.check_notification_displayed = check_notification_displayed;
   module.assert_notification_displayed = assert_notification_displayed;
--- a/mail/test/mozmill/shared-modules/test-observer-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-observer-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "observer-helpers";
 
 function installInto(module) {
   module.ObservationRecorder = ObservationRecorder;
 }
 
 /**
  * ObservationRecorder observes events, and records its observations for
--- a/mail/test/mozmill/shared-modules/test-pref-window-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-pref-window-helpers.js
@@ -2,16 +2,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Helpers to deal with the preferences window.
  */
 
+"use strict";
+
 var MODULE_NAME = "pref-window-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "content-tab-helpers"];
 
 var utils = {};
 ChromeUtils.import("chrome://mozmill/content/modules/utils.js", utils);
 
--- a/mail/test/mozmill/shared-modules/test-prompt-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-prompt-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "prompt-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 // we need this for the main controller
 var MODULE_REQUIRES = ["mock-object-helpers"];
 
 ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
 ChromeUtils.import("resource://gre/modules/Services.jsm");
--- a/mail/test/mozmill/shared-modules/test-quick-filter-bar-helper.js
+++ b/mail/test/mozmill/shared-modules/test-quick-filter-bar-helper.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "quick-filter-bar-helper";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers"];
 
 var fdh, mc;
 
 function setupModule() {
--- a/mail/test/mozmill/shared-modules/test-search-window-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-search-window-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "search-window-helpers";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "window-helpers"];
 
 var folderDisplayHelper;
 var mc;
 var windowHelper;
--- a/mail/test/mozmill/shared-modules/test-subscribe-window-helper.js
+++ b/mail/test/mozmill/shared-modules/test-subscribe-window-helper.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "subscribe-window-helpers";
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ['window-helpers', 'folder-display-helpers',
                          'keyboard-helpers'];
 
 var folderDisplayHelper;
 var mc;
 var windowHelper;
--- a/mail/test/mozmill/shared-modules/test-window-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-window-helpers.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var MODULE_NAME = "window-helpers";
 
 ChromeUtils.import('resource:///modules/iteratorUtils.jsm');
 ChromeUtils.import('resource://gre/modules/NetUtil.jsm');
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 
 var mozmill = {};
 ChromeUtils.import("chrome://mozmill/content/modules/mozmill.js", mozmill);
--- a/mail/test/mozmill/startup-firstrun/test-menubar-collapsed.js
+++ b/mail/test/mozmill/startup-firstrun/test-menubar-collapsed.js
@@ -2,16 +2,18 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Tests that the main menu will be collapsed by default if Thunderbird starts
  * with no accounts created.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-main-menu-collapsed";
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers",
                        "window-helpers"];
 
 function setupModule(module) {
   collector.getModule("folder-display-helpers").installInto(module);
   collector.getModule("window-helpers").installInto(module);
--- a/mail/test/mozmill/subscribe/test-subscribe-news-filter.js
+++ b/mail/test/mozmill/subscribe/test-subscribe-news-filter.js
@@ -1,14 +1,16 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /* Test that the subscribe window for news servers has working autocomplete. */
 
+"use strict";
+
 var MODULE_NAME = "test-subscribe-news-filter";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers", "nntp-helpers",
                          "subscribe-window-helpers"];
 
 function setupModule(module) {
   collector.getModule("folder-display-helpers").installInto(module);
--- a/mail/test/mozmill/tabmail/test-tabmail-closing.js
+++ b/mail/test/mozmill/tabmail/test-tabmail-closing.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Test tabmail behaviour when tabs close.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-tabmail-closing";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ["folder-display-helpers",
                        "window-helpers",];
 
 var gFolder;
 
--- a/mail/test/mozmill/tabmail/test-tabmail-customize.js
+++ b/mail/test/mozmill/tabmail/test-tabmail-customize.js
@@ -1,16 +1,18 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*
  * Tests customization features of the tabs toolbar.
  */
 
+"use strict";
+
 var MODULE_NAME = "test-tabmail-customize";
 
 var RELATIVE_ROOT = "../shared-modules";
 var MODULE_REQUIRES = ['folder-display-helpers', 'mouse-event-helpers',
                        'window-helpers', 'customization-helpers'];
 
 var gCDHelper ;
 
--- a/mail/test/mozmill/tabmail/test-tabmail-dragndrop.js
+++ b/mail/test/mozmill/tabmail/test-tabmail-dragndrop.js
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+"use strict";
+
 var elib = {};
 ChromeUtils.import("chrome://mozmill/content/modules/elementslib.js", elib);
 ChromeUtils.import("resource://gre/modules/Services.jsm");
 
 /*
  * Test rearanging tabs via drag'n'drop.
  */