Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
authorMyk Melez <myk@mykzilla.org>
Wed, 30 Jan 2019 17:26:25 +0000
changeset 516981 73a91e84dbec4fe4cd6881c0bdb377f7b0137e42
parent 516980 e793c88c1fd8f05495d4e032976af476aa76ce09
child 516992 0a71d114c5e223542ca6687bbdf3ecb16c380677
child 516993 d8268f8ec7d271324c09e70cf23f40b18c584240
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmossop, Standard8
bugs1518283
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 Differential Revision: https://phabricator.services.mozilla.com/D17526
accessible/jsat/Traversal.jsm
accessible/jsat/Utils.jsm
accessible/tests/browser/.eslintrc.js
accessible/tests/mochitest/actions.js
accessible/tests/mochitest/common.js
accessible/tests/mochitest/events.js
accessible/tests/mochitest/events/test_statechange.html
accessible/tests/mochitest/events/test_text.html
accessible/tests/mochitest/events/test_valuechange.html
accessible/tests/mochitest/name/markup.js
accessible/tests/mochitest/relations.js
accessible/tests/mochitest/relations/test_update.html
accessible/tests/mochitest/table.js
accessible/tests/mochitest/text.js
accessible/tests/mochitest/text/test_atcaretoffset.html
accessible/tests/mochitest/treeupdate/test_bug1100602.html
accessible/tests/mochitest/treeupdate/test_optgroup.html
accessible/tests/mochitest/treeupdate/test_select.html
accessible/tests/mochitest/treeupdate/test_table.html
browser/actors/AboutReaderChild.jsm
browser/actors/ContextMenuChild.jsm
browser/actors/PageInfoChild.jsm
browser/actors/PluginChild.jsm
browser/base/content/browser-compacttheme.js
browser/base/content/browser-fullScreenAndPointerLock.js
browser/base/content/browser-gestureSupport.js
browser/base/content/browser-siteIdentity.js
browser/base/content/browser-tabsintitlebar.js
browser/base/content/browser.js
browser/base/content/contentSearchUI.js
browser/base/content/contentTheme.js
browser/base/content/nsContextMenu.js
browser/base/content/tabbrowser.js
browser/base/content/test/contextMenu/browser_utilityOverlayPrincipal.js
browser/base/content/test/general/browser_blockHPKP.js
browser/base/content/test/general/browser_bug427559.js
browser/base/content/test/general/browser_bug435325.js
browser/base/content/test/general/browser_bug559991.js
browser/base/content/test/general/browser_bug734076.js
browser/base/content/test/general/browser_e10s_switchbrowser.js
browser/base/content/test/general/browser_remoteWebNavigation_postdata.js
browser/base/content/test/general/browser_save_private_link_perwindowpb.js
browser/base/content/test/general/browser_tabfocus.js
browser/base/content/test/general/browser_tabkeynavigation.js
browser/base/content/test/general/browser_web_channel.js
browser/base/content/test/general/browser_windowactivation.js
browser/base/content/test/general/contentSearchUI.js
browser/base/content/test/general/contextmenu_common.js
browser/base/content/test/general/head.js
browser/base/content/test/pageActions/browser_page_action_menu_share_win.js
browser/base/content/test/pageinfo/browser_pageinfo_firstPartyIsolation.js
browser/base/content/test/pageinfo/browser_pageinfo_security.js
browser/base/content/test/permissions/browser_autoplay_blocked.js
browser/base/content/test/permissions/browser_permissions.js
browser/base/content/test/plugins/browser_CTP_zoom.js
browser/base/content/test/popupNotifications/browser_popupNotification_3.js
browser/base/content/test/sanitize/browser_sanitize-timespans.js
browser/base/content/test/static/browser_all_files_referenced.js
browser/base/content/test/sync/browser_fxa_web_channel.js
browser/base/content/test/tabs/browser_multiselect_tabs_reload.js
browser/base/content/test/tabs/browser_open_newtab_start_observer_notification.js
browser/base/content/test/webrtc/browser_devices_get_user_media_multi_process.js
browser/base/content/test/webrtc/head.js
browser/base/content/urlbarBindings.xml
browser/base/content/utilityOverlay.js
browser/components/customizableui/CustomizableUI.jsm
browser/components/customizableui/test/browser_1087303_button_preferences.js
browser/components/customizableui/test/browser_newtab_button_customizemode.js
browser/components/customizableui/test/browser_synced_tabs_menu.js
browser/components/customizableui/test/head.js
browser/components/downloads/test/browser/head.js
browser/components/enterprisepolicies/content/aboutPolicies.js
browser/components/enterprisepolicies/tests/browser/browser_policy_disable_feedback_commands.js
browser/components/enterprisepolicies/tests/browser/browser_policy_disable_masterpassword.js
browser/components/enterprisepolicies/tests/browser/browser_policy_disable_pocket.js
browser/components/migration/.eslintrc.js
browser/components/newtab/.eslintrc.js
browser/components/nsBrowserContentHandler.js
browser/components/nsBrowserGlue.js
browser/components/originattributes/test/browser/browser_broadcastChannel.js
browser/components/originattributes/test/browser/browser_cache.js
browser/components/originattributes/test/browser/browser_favicon_firstParty.js
browser/components/originattributes/test/browser/head.js
browser/components/payments/.eslintrc.js
browser/components/places/tests/browser/browser_bookmarklet_windowOpen.js
browser/components/places/tests/browser/browser_bug427633_no_newfolder_if_noip.js
browser/components/places/tests/browser/browser_library_views_liveupdate.js
browser/components/places/tests/browser/browser_sidebarpanels_click.js
browser/components/pocket/content/main.js
browser/components/pocket/content/panels/js/messages.js
browser/components/pocket/content/panels/js/saved.js
browser/components/pocket/content/panels/js/sendtomobile.js
browser/components/pocket/content/panels/js/signup.js
browser/components/pocket/content/pktApi.jsm
browser/components/preferences/in-content/main.js
browser/components/preferences/in-content/tests/browser_security-2.js
browser/components/preferences/in-content/tests/browser_subdialogs.js
browser/components/preferences/in-content/tests/head.js
browser/components/preferences/in-content/tests/siteData/head.js
browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cache.js
browser/components/privatebrowsing/test/browser/browser_privatebrowsing_favicon.js
browser/components/privatebrowsing/test/browser/browser_privatebrowsing_popupblocker.js
browser/components/resistfingerprinting/test/browser/browser_netInfo.js
browser/components/resistfingerprinting/test/browser/browser_performanceAPI.js
browser/components/resistfingerprinting/test/browser/browser_timezone.js
browser/components/resistfingerprinting/test/browser/head.js
browser/components/resistfingerprinting/test/mochitest/file_animation_api.html
browser/components/resistfingerprinting/test/mochitest/test_animation_api.html
browser/components/resistfingerprinting/test/mochitest/test_pointer_event.html
browser/components/search/content/searchbar.js
browser/components/sessionstore/SessionStore.jsm
browser/components/sessionstore/SessionWorker.js
browser/components/sessionstore/test/browser_589246.js
browser/components/sessionstore/test/browser_739531.js
browser/components/sessionstore/test/browser_cleaner.js
browser/components/sessionstore/test/browser_privatetabs.js
browser/components/shell/test/unit/test_421977.js
browser/components/syncedtabs/test/browser/browser_sidebar_syncedtabslist.js
browser/components/syncedtabs/test/xpcshell/test_SyncedTabsListStore.js
browser/components/tests/startupRecorder.js
browser/components/translation/BingTranslator.jsm
browser/components/translation/GoogleTranslator.jsm
browser/components/translation/TranslationDocument.jsm
browser/components/translation/YandexTranslator.jsm
browser/components/translation/test/browser_translation_bing.js
browser/components/translation/test/browser_translation_exceptions.js
browser/components/translation/test/browser_translation_telemetry.js
browser/components/translation/test/browser_translation_yandex.js
browser/components/uitour/test/browser_UITour.js
browser/components/uitour/test/browser_no_tabs.js
browser/components/uitour/test/browser_trackingProtection.js
browser/components/urlbar/tests/legacy/browser_autocomplete_edit_completed.js
browser/components/urlbar/tests/legacy/browser_search_favicon.js
browser/extensions/formautofill/.eslintrc.js
browser/extensions/pdfjs/content/PdfJsNetwork.jsm
browser/extensions/pdfjs/content/PdfStreamConverter.jsm
browser/extensions/webcompat-reporter/.eslintrc.js
browser/modules/SitePermissions.jsm
browser/modules/test/browser/browser_SitePermissions_tab_urls.js
browser/modules/webrtcUI.jsm
caps/tests/mochitest/browser_checkloaduri.js
chrome/test/unit/test_bug564667.js
chrome/test/unit/test_bug848297.js
chrome/test/unit/test_data_protocol_registration.js
chrome/test/unit/test_no_remote_registration.js
devtools/.eslintrc.js
docshell/test/navigation/NavigationUtils.js
docshell/test/navigation/browser_bug343515.js
docshell/test/navigation/test_bug386782.html
docshell/test/unit/test_nsDefaultURIFixup_info.js
dom/base/test/unit/test_cancelPrefetch.js
dom/base/test/unit/test_isequalnode.js
dom/base/test/unit/test_nodelist.js
dom/base/test/unit/test_xml_serializer.js
dom/console/tests/test_console_binding.html
dom/console/tests/test_devtools_pref.html
dom/credentialmanagement/tests/mochitest/test_credman_iframes.html
dom/crypto/test/test_WebCrypto_Wrap_Unwrap.html
dom/filesystem/compat/tests/test_basic.html
dom/indexedDB/test/leaving_page_iframe.html
dom/indexedDB/test/test_blob_simple.html
dom/ipc/tests/browser_domainPolicy.js
dom/ipc/tests/test_CrashService_crash.html
dom/ipc/tests/test_child_docshell.html
dom/manifest/Manifest.jsm
dom/manifest/test/browser_Manifest_install.js
dom/media/PeerConnection.js
dom/media/mediasource/test/mediasource.js
dom/media/mediasource/test/test_AVC3_mp4.html
dom/media/mediasource/test/test_SeekToEnd_mp4.html
dom/media/mediasource/test/test_TimestampOffset_mp4.html
dom/presentation/tests/mochitest/PresentationSessionChromeScript1UA.js
dom/presentation/tests/mochitest/test_presentation_1ua_sender_and_receiver.js
dom/presentation/tests/mochitest/test_presentation_datachannel_sessiontransport.html
dom/presentation/tests/mochitest/test_presentation_tcp_sender.html
dom/presentation/tests/xpcshell/test_multicast_dns_device_provider.js
dom/system/NetworkGeolocationProvider.js
dom/tests/browser/browser_ConsoleAPITests.js
dom/tests/browser/browser_bug396843.js
dom/tests/browser/browser_frame_elements.js
dom/tests/browser/browser_persist_mixed_content_image.js
dom/tests/browser/perfmetrics/browser_test_unresponsive.js
editor/composer/test/test_bug384147.html
editor/libeditor/tests/test_bug1140105.html
editor/libeditor/tests/test_bug1250010.html
editor/libeditor/tests/test_bug1257363.html
editor/libeditor/tests/test_bug1330796.html
editor/libeditor/tests/test_bug1368544.html
editor/libeditor/tests/test_bug291780.html
editor/libeditor/tests/test_bug414526.html
editor/libeditor/tests/test_bug455992.html
editor/libeditor/tests/test_bug456244.html
editor/libeditor/tests/test_bug471722.html
editor/libeditor/tests/test_bug487524.html
editor/libeditor/tests/test_bug552782.html
editor/libeditor/tests/test_bug772796.html
editor/libeditor/tests/test_css_chrome_load_access.html
editor/spellchecker/tests/test_bug1200533.html
editor/spellchecker/tests/test_bug717433.html
extensions/pref/autoconfig/src/prefcalls.js
extensions/pref/autoconfig/test/unit/test_autoconfig.js
extensions/pref/autoconfig/test/unit/test_autoconfig_nonascii.js
gfx/layers/layerviewer/layerTreeView.js
gfx/tests/mochitest/test_acceleration.html
intl/l10n/Fluent.jsm
intl/l10n/test/dom/test_domloc_overlay_missing_all.html
intl/l10n/test/test_pseudo.js
js/src/builtin/Sorting.js
js/src/builtin/TypedObject.js
js/src/shell/ModuleLoader.js
memory/replace/dmd/test/test_dmd.js
mobile/android/chrome/geckoview/GeckoViewMediaChild.js
mobile/android/chrome/geckoview/GeckoViewSelectionActionChild.js
mobile/android/chrome/geckoview/config.js
mobile/android/components/ContentDispatchChooser.js
mobile/android/components/PresentationRequestUIGlue.js
mobile/android/components/SessionStore.js
mobile/android/components/geckoview/GeckoViewPrompt.js
mobile/android/extensions/report-site-issue/.eslintrc.js
mobile/android/modules/FxAccountsWebChannel.jsm
mobile/android/modules/HelperApps.jsm
mobile/android/modules/Prompt.jsm
mobile/android/modules/Snackbars.jsm
mobile/android/modules/WebrtcUI.jsm
mobile/android/modules/geckoview/GeckoViewAutoFill.jsm
mobile/android/tests/browser/robocop/robocop_head.js
mobile/android/tests/browser/robocop/testUITelemetry.js
netwerk/dns/mdns/libmdns/fallback/MulticastDNS.jsm
parser/htmlparser/tests/mochitest/test_bug715739.html
security/.eslintrc.js
services/common/kinto-storage-adapter.js
services/common/rest.js
services/common/tests/unit/test_blocklist_certificates.js
services/common/tests/unit/test_blocklist_clients.js
services/common/tests/unit/test_blocklist_pinning.js
services/common/tests/unit/test_kinto.js
services/common/uptake-telemetry.js
services/common/utils.js
services/crypto/tests/unit/head_helpers.js
services/fxaccounts/FxAccountsOAuthGrantClient.jsm
services/fxaccounts/FxAccountsWebChannel.jsm
services/fxaccounts/tests/mochitest/test_invalidEmailCase.html
services/fxaccounts/tests/xpcshell/test_accounts.js
services/settings/RemoteSettingsClient.jsm
services/settings/RemoteSettingsWorker.jsm
services/settings/test/unit/test_remote_settings.js
services/sync/modules/SyncDisconnect.jsm
services/sync/modules/addonsreconciler.js
services/sync/modules/addonutils.js
services/sync/modules/bookmark_repair.js
services/sync/modules/bookmark_validator.js
services/sync/modules/engines/history.js
services/sync/modules/policies.js
services/sync/modules/record.js
services/sync/modules/service.js
services/sync/modules/telemetry.js
services/sync/modules/util.js
services/sync/tests/unit/head_http_server.js
services/sync/tests/unit/test_addon_utils.js
services/sync/tests/unit/test_bookmark_decline_undecline.js
services/sync/tests/unit/test_bookmark_duping.js
services/sync/tests/unit/test_bookmark_engine.js
services/sync/tests/unit/test_bookmark_repair.js
services/sync/tests/unit/test_bookmark_store.js
services/sync/tests/unit/test_bookmark_tracker.js
services/sync/tests/unit/test_clients_engine.js
services/sync/tests/unit/test_collections_recovery.js
services/sync/tests/unit/test_forms_tracker.js
services/sync/tests/unit/test_history_tracker.js
services/sync/tests/unit/test_password_engine.js
services/sync/tests/unit/test_password_store.js
services/sync/tests/unit/test_password_tracker.js
services/sync/tests/unit/test_postqueue.js
services/sync/tests/unit/test_prefs_store.js
services/sync/tests/unit/test_prefs_tracker.js
services/sync/tests/unit/test_records_wbo.js
services/sync/tests/unit/test_resource_ua.js
services/sync/tests/unit/test_service_attributes.js
services/sync/tests/unit/test_service_cluster.js
services/sync/tests/unit/test_service_detect_upgrade.js
services/sync/tests/unit/test_service_login.js
services/sync/tests/unit/test_service_sync_401.js
services/sync/tests/unit/test_service_sync_specified.js
services/sync/tests/unit/test_service_sync_updateEnabledEngines.js
services/sync/tests/unit/test_service_verifyLogin.js
services/sync/tests/unit/test_service_wipeServer.js
services/sync/tests/unit/test_status.js
services/sync/tests/unit/test_status_checkSetup.js
services/sync/tests/unit/test_syncedtabs.js
services/sync/tests/unit/test_syncengine.js
services/sync/tests/unit/test_syncengine_sync.js
services/sync/tests/unit/test_syncscheduler.js
services/sync/tests/unit/test_telemetry.js
services/sync/tests/unit/test_uistate.js
services/sync/tps/extensions/tps/resource/tps.jsm
taskcluster/docker/periodic-updates/.eslintrc.js
testing/marionette/accessibility.js
testing/marionette/browser.js
testing/marionette/driver.js
testing/marionette/element.js
testing/marionette/event.js
testing/marionette/interaction.js
testing/marionette/listener.js
testing/marionette/packets.js
testing/marionette/reftest.js
testing/marionette/server.js
testing/marionette/sync.js
testing/marionette/test/unit/test_action.js
testing/mochitest/BrowserTestUtils/BrowserTestUtils.jsm
testing/mochitest/browser-test.js
testing/mochitest/chrome-harness.js
testing/mochitest/server.js
testing/modules/Assert.jsm
testing/modules/CoverageUtils.jsm
testing/modules/StructuredLog.jsm
testing/mozbase/mozlog/mozlog/formatters/html/main.js
testing/raptor/webext/raptor/measure.js
testing/raptor/webext/raptor/runner.js
testing/specialpowers/content/MockPermissionPrompt.jsm
testing/specialpowers/content/specialpowersAPI.js
testing/talos/talos/pageloader/chrome/pageloader.js
testing/talos/talos/pageloader/chrome/report.js
testing/talos/talos/pageloader/chrome/tscroll.js
testing/talos/talos/scripts/xpigen.js
testing/talos/talos/talos-powers/content/TalosContentProfiler.js
testing/talos/talos/talos-powers/content/TalosParentProfiler.jsm
testing/talos/talos/talos-powers/content/TalosPowersContent.js
testing/talos/talos/tests/tabswitch/api.js
testing/talos/talos/tests/tart/addon/content/tart.js
testing/talos/talos/tests/tart/tart.html
toolkit/components/aboutmemory/content/aboutMemory.js
toolkit/components/aboutperformance/content/aboutPerformance.js
toolkit/components/antitracking/test/browser/3rdPartyWO.html
toolkit/components/asyncshutdown/AsyncShutdown.jsm
toolkit/components/asyncshutdown/tests/xpcshell/test_AsyncShutdown.js
toolkit/components/autocomplete/tests/unit/test_378079.js
toolkit/components/autocomplete/tests/unit/test_393191.js
toolkit/components/autocomplete/tests/unit/test_440866.js
toolkit/components/autocomplete/tests/unit/test_autocomplete_multiple.js
toolkit/components/autocomplete/tests/unit/test_autocomplete_userContextId.js
toolkit/components/backgroundhangmonitor/tests/test_BHRObserver.js
toolkit/components/crashes/CrashManager.jsm
toolkit/components/crashes/CrashManagerTest.jsm
toolkit/components/crashes/tests/xpcshell/test_crash_service.js
toolkit/components/crashmonitor/CrashMonitor.jsm
toolkit/components/ctypes/tests/unit/test_errno.js
toolkit/components/ctypes/tests/unit/test_jsctypes.js
toolkit/components/downloads/DownloadCore.jsm
toolkit/components/downloads/DownloadLegacy.js
toolkit/components/downloads/test/unit/common_test_Download.js
toolkit/components/downloads/test/unit/head.js
toolkit/components/downloads/test/unit/test_PrivateTemp.js
toolkit/components/extensions/.eslintrc.js
toolkit/components/filewatcher/tests/xpcshell/test_arguments.js
toolkit/components/filewatcher/tests/xpcshell/test_no_error_callback.js
toolkit/components/filewatcher/tests/xpcshell/test_shared_callback.js
toolkit/components/filewatcher/tests/xpcshell/test_watch_directory_creation_single.js
toolkit/components/filewatcher/tests/xpcshell/test_watch_directory_deletion_single.js
toolkit/components/filewatcher/tests/xpcshell/test_watch_file_creation_single.js
toolkit/components/filewatcher/tests/xpcshell/test_watch_file_deletion_single.js
toolkit/components/filewatcher/tests/xpcshell/test_watch_file_modification_single.js
toolkit/components/filewatcher/tests/xpcshell/test_watch_many_changes.js
toolkit/components/filewatcher/tests/xpcshell/test_watch_multi_paths.js
toolkit/components/filewatcher/tests/xpcshell/test_watch_recursively.js
toolkit/components/filewatcher/tests/xpcshell/test_watch_resource.js
toolkit/components/gfx/content/gfxFrameScript.js
toolkit/components/mozintl/mozIntl.js
toolkit/components/narrate/.eslintrc.js
toolkit/components/normandy/actions/PreferenceRolloutAction.jsm
toolkit/components/normandy/lib/ActionsManager.jsm
toolkit/components/normandy/test/browser/browser_RecipeRunner.js
toolkit/components/normandy/test/browser/browser_ShieldPreferences.js
toolkit/components/normandy/test/browser/head.js
toolkit/components/osfile/modules/osfile_async_front.jsm
toolkit/components/osfile/modules/osfile_shared_allthreads.jsm
toolkit/components/osfile/modules/osfile_shared_front.jsm
toolkit/components/osfile/modules/osfile_unix_front.jsm
toolkit/components/osfile/modules/osfile_win_back.jsm
toolkit/components/osfile/modules/osfile_win_front.jsm
toolkit/components/osfile/modules/ospath_win.jsm
toolkit/components/osfile/tests/mochi/main_test_osfile_async.js
toolkit/components/osfile/tests/mochi/worker_handler.js
toolkit/components/osfile/tests/mochi/worker_test_osfile_front.js
toolkit/components/osfile/tests/mochi/worker_test_osfile_win.js
toolkit/components/osfile/tests/xpcshell/head.js
toolkit/components/osfile/tests/xpcshell/test_open.js
toolkit/components/osfile/tests/xpcshell/test_osfile_async_copy.js
toolkit/components/osfile/tests/xpcshell/test_osfile_async_largefiles.js
toolkit/components/osfile/tests/xpcshell/test_osfile_async_setPermissions.js
toolkit/components/osfile/tests/xpcshell/test_osfile_closed.js
toolkit/components/osfile/tests/xpcshell/test_osfile_win_async_setPermissions.js
toolkit/components/osfile/tests/xpcshell/test_path_constants.js
toolkit/components/osfile/tests/xpcshell/test_shutdown.js
toolkit/components/passwordmgr/OSCrypto_win.js
toolkit/components/passwordmgr/content/passwordManager.js
toolkit/components/passwordmgr/nsLoginManager.js
toolkit/components/passwordmgr/nsLoginManagerPrompter.js
toolkit/components/passwordmgr/storage-mozStorage.js
toolkit/components/passwordmgr/test/browser/browser_capture_doorhanger.js
toolkit/components/passwordmgr/test/browser/browser_context_menu.js
toolkit/components/passwordmgr/test/browser/browser_passwordmgr_fields.js
toolkit/components/passwordmgr/test/browser/browser_passwordmgr_observers.js
toolkit/components/passwordmgr/test/browser/browser_passwordmgr_switchtab.js
toolkit/components/passwordmgr/test/chrome/test_privbrowsing_perwindowpb.html
toolkit/components/passwordmgr/test/mochitest/test_basic_form_pwonly.html
toolkit/components/passwordmgr/test/unit/test_OSCrypto_win.js
toolkit/components/passwordmgr/test/unit/test_dedupeLogins.js
toolkit/components/passwordmgr/test/unit/test_notifications.js
toolkit/components/passwordmgr/test/unit/test_recipes_add.js
toolkit/components/passwordmgr/test/unit/test_storage_mozStorage.js
toolkit/components/places/Bookmarks.jsm
toolkit/components/places/PlacesDBUtils.jsm
toolkit/components/places/PlacesUtils.jsm
toolkit/components/places/SyncedBookmarksMirror.jsm
toolkit/components/places/tests/bookmarks/test_1017502-bookmarks_foreign_count.js
toolkit/components/places/tests/bookmarks/test_424958-json-quoted-folders.js
toolkit/components/places/tests/bookmarks/test_bmindex.js
toolkit/components/places/tests/favicons/test_setAndFetchFaviconForPage_failures.js
toolkit/components/places/tests/queries/head_queries.js
toolkit/components/places/tests/unifiedcomplete/test_history_autocomplete_tags.js
toolkit/components/places/tests/unit/test_000_frecency.js
toolkit/components/places/tests/unit/test_hash.js
toolkit/components/places/tests/unit/test_markpageas.js
toolkit/components/printing/content/printPageSetup.js
toolkit/components/printing/content/printPreviewToolbar.js
toolkit/components/printing/content/printProgress.js
toolkit/components/promiseworker/PromiseWorker.jsm
toolkit/components/prompts/src/nsPrompter.js
toolkit/components/prompts/test/chromeScript.js
toolkit/components/reader/test/head.js
toolkit/components/reputationservice/test/unit/test_login_rep.js
toolkit/components/satchel/.eslintrc.js
toolkit/components/search/nsSearchService.js
toolkit/components/search/tests/xpcshell/test_location.js
toolkit/components/telemetry/pings/TelemetrySession.jsm
toolkit/components/telemetry/tests/unit/head.js
toolkit/components/telemetry/tests/unit/test_EventPing.js
toolkit/components/telemetry/tests/unit/test_TelemetryEnvironment.js
toolkit/components/telemetry/tests/unit/test_TelemetryEvents.js
toolkit/components/telemetry/tests/unit/test_TelemetryScalars_multistore.js
toolkit/components/telemetry/tests/unit/test_TelemetrySession.js
toolkit/components/terminator/tests/xpcshell/test_terminator_reload.js
toolkit/components/thumbnails/PageThumbs.jsm
toolkit/components/thumbnails/test/browser_thumbnails_bug818225.js
toolkit/components/tooltiptext/TooltipTextProvider.js
toolkit/components/url-classifier/nsUrlClassifierHashCompleter.js
toolkit/components/url-classifier/nsUrlClassifierListManager.js
toolkit/components/url-classifier/tests/mochitest/gethashFrame.html
toolkit/components/url-classifier/tests/mochitest/test_classifier.html
toolkit/components/url-classifier/tests/mochitest/test_gethash.html
toolkit/components/url-classifier/tests/unit/test_addsub.js
toolkit/components/url-classifier/tests/unit/test_hashcompleter_v4.js
toolkit/components/url-classifier/tests/unit/test_listmanager.js
toolkit/components/url-classifier/tests/unit/test_partial.js
toolkit/components/viewsource/content/viewSource-content.js
toolkit/components/viewsource/test/browser/browser_contextmenu.js
toolkit/components/workerloader/require.js
toolkit/content/aboutProfiles.js
toolkit/content/aboutTelemetry.js
toolkit/content/contentAreaUtils.js
toolkit/content/customElements.js
toolkit/content/process-content.js
toolkit/content/tests/browser/browser_audioCompeting_onlyForActiveAgent.js
toolkit/content/tests/browser/browser_default_image_filename_redirect.js
toolkit/content/tests/browser/browser_findbar.js
toolkit/content/tests/chrome/RegisterUnregisterChrome.js
toolkit/content/widgets/autocomplete.xml
toolkit/content/widgets/browser-custom-element.js
toolkit/content/widgets/datepicker.js
toolkit/content/widgets/editor.js
toolkit/content/widgets/findbar.js
toolkit/content/widgets/general.js
toolkit/content/widgets/menulist.js
toolkit/content/widgets/radio.js
toolkit/content/widgets/spinner.js
toolkit/content/widgets/stringbundle.js
toolkit/content/widgets/tabbox.js
toolkit/content/widgets/text.xml
toolkit/content/widgets/textbox.js
toolkit/content/widgets/tree.js
toolkit/content/widgets/tree.xml
toolkit/crashreporter/test/unit/head_win64cfi.js
toolkit/crashreporter/test/unit/test_event_files.js
toolkit/crashreporter/test/unit/test_oom_annotation_windows.js
toolkit/modules/AutoScrollController.jsm
toolkit/modules/PopupNotifications.jsm
toolkit/modules/Promise-backend.js
toolkit/modules/SelectParentHelper.jsm
toolkit/modules/ZipUtils.jsm
toolkit/modules/sessionstore/SessionHistory.jsm
toolkit/modules/tests/browser/browser_Finder_offscreen_text.js
toolkit/modules/tests/browser/browser_Finder_overflowed_textarea.js
toolkit/modules/tests/chrome/test_findCssSelector.html
toolkit/modules/tests/modules/Task.jsm
toolkit/modules/tests/xpcshell/test_servicerequest_xhr.js
toolkit/modules/tests/xpcshell/test_sqlite.js
toolkit/modules/tests/xpcshell/test_sqlite_shutdown.js
toolkit/mozapps/downloads/nsHelperAppDlg.js
toolkit/mozapps/extensions/Blocklist.jsm
toolkit/mozapps/extensions/content/extensions.js
toolkit/mozapps/extensions/content/extensions.xml
toolkit/mozapps/extensions/internal/Content.js
toolkit/mozapps/extensions/internal/PluginProvider.jsm
toolkit/mozapps/extensions/internal/ProductAddonChecker.jsm
toolkit/mozapps/extensions/internal/XPIDatabase.jsm
toolkit/mozapps/extensions/internal/XPIInstall.jsm
toolkit/mozapps/extensions/test/browser/browser_bug562797.js
toolkit/mozapps/extensions/test/browser/browser_bug567137.js
toolkit/mozapps/extensions/test/browser/browser_bug586574.js
toolkit/mozapps/extensions/test/browser/browser_bug591465.js
toolkit/mozapps/extensions/test/browser/browser_extension_sideloading_permission.js
toolkit/mozapps/extensions/test/browser/browser_gmpProvider.js
toolkit/mozapps/extensions/test/browser/browser_manualupdates.js
toolkit/mozapps/extensions/test/browser/browser_sorting.js
toolkit/mozapps/extensions/test/browser/browser_sorting_plugins.js
toolkit/mozapps/extensions/test/browser/head.js
toolkit/mozapps/extensions/test/xpcshell/test_AddonRepository.js
toolkit/mozapps/extensions/test/xpcshell/test_AddonRepository_langpacks.js
toolkit/mozapps/extensions/test/xpcshell/test_blocklist_metadata_filters.js
toolkit/mozapps/extensions/test/xpcshell/test_blocklist_plugin_outdated.js
toolkit/mozapps/extensions/test/xpcshell/test_blocklist_prefs.js
toolkit/mozapps/extensions/test/xpcshell/test_blocklistchange.js
toolkit/mozapps/extensions/test/xpcshell/test_install.js
toolkit/mozapps/extensions/test/xpcshell/test_pluginBlocklistCtp.js
toolkit/mozapps/extensions/test/xpcshell/test_update_rdf.js
toolkit/mozapps/extensions/test/xpcshell/test_upgrade.js
toolkit/mozapps/extensions/test/xpcshell/test_webextension_install_syntax_error.js
toolkit/mozapps/preferences/changemp.js
toolkit/mozapps/update/tests/browser/head.js
tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js
tools/lint/eslint/eslint-plugin-mozilla/lib/helpers.js
tools/lint/eslint/eslint-plugin-mozilla/lib/rules/avoid-removeChild.js
tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-headjs-globals.js
tools/lint/eslint/eslint-plugin-mozilla/lib/rules/no-compare-against-boolean-literals.js
tools/lint/eslint/eslint-plugin-mozilla/lib/rules/no-define-cc-etc.js
tools/lint/eslint/eslint-plugin-mozilla/lib/rules/no-useless-removeEventListener.js
tools/lint/eslint/eslint-plugin-mozilla/lib/rules/no-useless-run-test.js
tools/lint/eslint/eslint-plugin-mozilla/lib/rules/reject-some-requires.js
tools/lint/eslint/eslint-plugin-mozilla/lib/rules/use-cc-etc.js
tools/lint/eslint/eslint-plugin-mozilla/lib/rules/use-default-preference-values.js
tools/lint/eslint/eslint-plugin-mozilla/lib/rules/use-includes-instead-of-indexOf.js
tools/lint/eslint/eslint-plugin-mozilla/lib/rules/use-ownerGlobal.js
tools/lint/eslint/eslint-plugin-mozilla/lib/rules/use-returnValue.js
tools/lint/eslint/eslint-plugin-mozilla/package-lock.json
tools/lint/eslint/eslint-plugin-mozilla/package.json
tools/profiler/tests/chrome/profiler_test_utils.js
tools/profiler/tests/test_run.js
xpcom/tests/unit/test_iniParser.js
xpcom/tests/unit/test_nsIProcess_stress.js
xpcom/tests/unit/test_seek_multiplex.js
xpcom/tests/unit/test_windows_registry.js
--- a/accessible/jsat/Traversal.jsm
+++ b/accessible/jsat/Traversal.jsm
@@ -179,17 +179,16 @@ var TraversalRules = { // jshint ignore:
   Anchor: new BaseTraversalRule(
     [Roles.LINK],
     function Anchor_match(aAccessible) {
       // We want to ignore links, only focus named anchors.
       if (Utils.getState(aAccessible).contains(States.LINKED)) {
         return Filters.IGNORE;
       }
       return Filters.MATCH;
-
     }),
 
   Button: new BaseTraversalRule(
     [Roles.PUSHBUTTON,
      Roles.SPINBUTTON,
      Roles.TOGGLE_BUTTON,
      Roles.BUTTONDROPDOWN,
      Roles.BUTTONDROPDOWNGRID]),
@@ -268,17 +267,16 @@ var TraversalRules = { // jshint ignore:
   Link: new BaseTraversalRule(
     [Roles.LINK],
     function Link_match(aAccessible) {
       // We want to ignore anchors, only focus real links.
       if (Utils.getState(aAccessible).contains(States.LINKED)) {
         return Filters.MATCH;
       }
       return Filters.IGNORE;
-
     }),
 
   /* For TalkBack's "Control" granularity. Form conrols and links */
   Control: new BaseTraversalRule(
     [Roles.PUSHBUTTON,
      Roles.SPINBUTTON,
      Roles.TOGGLE_BUTTON,
      Roles.BUTTONDROPDOWN,
@@ -387,12 +385,11 @@ var TraversalHelper = {
           // If we failed to step to another container, break and return false.
           break;
         }
       }
 
       return moved;
     }
     return aVirtualCursor[aMethod](rule);
-
   },
 
 };
--- a/accessible/jsat/Utils.jsm
+++ b/accessible/jsat/Utils.jsm
@@ -148,17 +148,16 @@ var Utils = { // jshint ignore:line
       return new State(
         aAccessibleOrEvent.isExtraState ? 0 : aAccessibleOrEvent.state,
         aAccessibleOrEvent.isExtraState ? aAccessibleOrEvent.state : 0);
     }
       let state = {};
       let extState = {};
       aAccessibleOrEvent.getState(state, extState);
       return new State(state.value, extState.value);
-
   },
 
   getAttributes: function getAttributes(aAccessible) {
     let attributes = {};
 
     if (aAccessible && aAccessible.attributes) {
       // Populate |attributes| object with |aAccessible|'s attribute key-value
       // pairs.
--- a/accessible/tests/browser/.eslintrc.js
+++ b/accessible/tests/browser/.eslintrc.js
@@ -61,17 +61,16 @@ module.exports = {
     "no-underscore-dangle": "off",
     "no-undefined": "off",
     "no-unused-vars": ["error", {"vars": "all", "args": "none"}],
     "no-use-before-define": "off",
     "no-var": "off",
     "no-warning-comments": "off",
     "object-shorthand": "off",
     "one-var": ["error", "never"],
-    "padded-blocks": ["error", "never"],
     "quote-props": "off",
     "radix": "error",
     "semi-spacing": ["error", {"before": false, "after": true}],
     "sort-vars": "off",
     "space-in-parens": ["error", "never"],
     "strict": ["error", "global"],
     "valid-jsdoc": "off",
     "vars-on-top": "off",
--- a/accessible/tests/mochitest/actions.js
+++ b/accessible/tests/mochitest/actions.js
@@ -46,17 +46,16 @@ const XUL_EVENTS = CLICK_EVENTS | COMMAN
  *
  *
  * @param  aArray [in] an array of action cheker objects
  */
 function testActions(aArray) {
   gActionsQueue = new eventQueue();
 
   for (var idx = 0; idx < aArray.length; idx++) {
-
     var actionObj = aArray[idx];
     var accOrElmOrID = actionObj.ID;
     var actionIndex = actionObj.actionIndex;
     var actionName = actionObj.actionName;
     var events = actionObj.events;
     var accOrElmOrIDOfTarget = actionObj.targetID ?
       actionObj.targetID : accOrElmOrID;
 
--- a/accessible/tests/mochitest/common.js
+++ b/accessible/tests/mochitest/common.js
@@ -251,20 +251,18 @@ const DONOTFAIL_IF_NO_INTERFACE = 2;
 function getAccessible(aAccOrElmOrID, aInterfaces, aElmObj, aDoNotFailIf) {
   if (!aAccOrElmOrID)
     return null;
 
   var elm = null;
 
   if (aAccOrElmOrID instanceof nsIAccessible) {
     try { elm = aAccOrElmOrID.DOMNode; } catch (e) { }
-
   } else if (Node.isInstance(aAccOrElmOrID)) {
     elm = aAccOrElmOrID;
-
   } else {
     elm = document.getElementById(aAccOrElmOrID);
     if (!elm) {
       ok(false, "Can't get DOM element for " + aAccOrElmOrID);
       return null;
     }
   }
 
@@ -498,17 +496,16 @@ function testAccessibleTree(aAccOrElmOrI
           testChild = normalizeAccTreeObj(testChild);
           if (accChild.role !== testChild.role) {
             ok(false, prettyName(accTree) + " and " + prettyName(acc) +
               " have different children at index " + i + " : " +
               prettyName(testChild) + ", " + prettyName(accChild));
           }
           info("Matching " + prettyName(accTree) + " and " + prettyName(acc) +
                " child at index " + i + " : " + prettyName(accChild));
-
         } catch (e) {
           ok(false, prettyName(accTree) + " is expected to have a child at index " + i +
              " : " + prettyName(testChild) + ", original tested: " +
              prettyName(aAccOrElmOrID) + ", " + e);
         }
       }
     } else {
       if (aFlags & kSkipTreeFullCheck) {
--- a/accessible/tests/mochitest/events.js
+++ b/accessible/tests/mochitest/events.js
@@ -84,17 +84,16 @@ function isXULElement(aNode) {
  * @param aContext    [in, optional] object in which context the function is
  *                    called
  * @param aArg1       [in, optional] argument passed into the function
  * @param aArg2       [in, optional] argument passed into the function
  */
 function waitForEvent(aEventType, aTargetOrFunc, aFunc, aContext, aArg1, aArg2) {
   var handler = {
     handleEvent: function handleEvent(aEvent) {
-
       var target = aTargetOrFunc;
       if (typeof aTargetOrFunc == "function")
         target = aTargetOrFunc.call();
 
       if (target) {
         if (target instanceof nsIAccessible &&
             target != aEvent.accessible)
           return;
@@ -591,17 +590,16 @@ function eventQueue(aEventType) {
         }
       }
     }
 
     // If we don't have more events to wait then schedule next invoker.
     if (this.hasMatchedScenario()) {
       if (this.mNextInvokerStatus == kInvokerNotScheduled) {
         this.processNextInvokerInTimeout();
-
       } else if (this.mNextInvokerStatus == kInvokerCanceled) {
         this.setInvokerStatus(kInvokerPending,
                               "Full match. Void the cancelation of next invoker processing");
       }
       return;
     }
 
     // If we have scheduled a next invoker then cancel in case of match.
@@ -784,17 +782,16 @@ function eventQueue(aEventType) {
           // DOM event
           var target = eventQueue.getEventTarget(eventSeq[idx]);
           if (!target) {
             ok(false, "no target for DOM event!");
             return false;
           }
           var phase = eventQueue.getEventPhase(eventSeq[idx]);
           target.addEventListener(eventType, this, phase);
-
         } else {
           // A11y event
           addA11yEventListener(eventType, this);
         }
       }
     }
 
     return true;
@@ -808,17 +805,16 @@ function eventQueue(aEventType) {
       var eventSeq = this.mScenarios[scnIdx];
       for (var idx = 0; idx < eventSeq.length; idx++) {
         var eventType = eventSeq[idx].type;
         if (typeof eventType == "string") {
           // DOM event
           var target = eventQueue.getEventTarget(eventSeq[idx]);
           var phase = eventQueue.getEventPhase(eventSeq[idx]);
           target.removeEventListener(eventType, this, phase);
-
         } else {
           // A11y event
           removeA11yEventListener(eventType, this);
         }
       }
     }
     this.mScenarios = null;
   };
@@ -1447,17 +1443,16 @@ function closeCombobox(aComboboxID) {
  */
 function synthSelectAll(aNodeOrID, aCheckerOrEventSeq) {
   this.__proto__ = new synthAction(aNodeOrID, aCheckerOrEventSeq);
 
   this.invoke = function synthSelectAll_invoke() {
     if (ChromeUtils.getClassName(this.DOMNode) === "HTMLInputElement" ||
         this.DOMNode.localName == "textbox") {
       this.DOMNode.select();
-
     } else {
       window.getSelection().selectAllChildren(this.DOMNode);
     }
   };
 
   this.getID = function synthSelectAll_getID() {
     return aNodeOrID + " selectall";
   };
@@ -1990,17 +1985,16 @@ var gA11yEventObserver =
       if (!dumpElm || parent != dumpElm) {
         var type = eventTypeToString(event.eventType);
         var info = "Event type: " + type;
 
         if (event instanceof nsIAccessibleStateChangeEvent) {
           var stateStr = statesToString(event.isExtraState ? 0 : event.state,
                                         event.isExtraState ? event.state : 0);
           info += ", state: " + stateStr + ", is enabled: " + event.isEnabled;
-
         } else if (event instanceof nsIAccessibleTextChangeEvent) {
           info += ", start: " + event.start + ", length: " + event.length +
             ", " + (event.isInserted ? "inserted" : "removed") +
             " text: " + event.modifiedText;
         }
 
         info += ". Target: " + prettyName(event.accessible);
 
--- a/accessible/tests/mochitest/events/test_statechange.html
+++ b/accessible/tests/mochitest/events/test_statechange.html
@@ -26,17 +26,16 @@
       this.DOMNode = aDocNode;
 
       this.invoke = function editabledoc_invoke() {
         // Note: this should fire an EVENT_STATE_CHANGE
         this.DOMNode.designMode = "on";
       };
 
       this.check = function editabledoc_check(aEvent) {
-
         testStates(aDocNode, 0, EXT_STATE_EDITABLE);
 
         let event = null;
         try {
           event = aEvent.QueryInterface(nsIAccessibleStateChangeEvent);
         } catch (e) {
           ok(false, "State change event was expected");
         }
@@ -149,17 +148,16 @@
       this.eventSeq = [
         new stateChangeChecker(aState, aIsExtraState, aIsEnabled, getNode(aID)),
       ];
 
       this.invoke = function echoingStateChange_invoke() {
         if (aValue == null) {
           getNode(aID).removeAttribute(aARIAAttr);
           getNode(aID).removeAttribute(aAttr);
-
         } else {
           getNode(aID).setAttribute(aARIAAttr, aValue);
           getNode(aID).setAttribute(aAttr, aValue);
         }
       };
 
       this.getID = function echoingStateChange_getID() {
         return "enchoing ARIA and native attributes change";
--- a/accessible/tests/mochitest/events/test_text.html
+++ b/accessible/tests/mochitest/events/test_text.html
@@ -68,17 +68,16 @@
           let fSpan = document.createElement("span");
           fSpan.textContent = "333";
           topSpan.appendChild(fSpan);
           let sSpan = document.createElement("span");
           sSpan.textContent = "22";
           topSpan.appendChild(sSpan);
 
           this.DOMNode.insertBefore(topSpan, this.DOMNode.childNodes[0]);
-
         } else {
           let topSpan = document.createElement("span");
           this.DOMNode.insertBefore(topSpan, this.DOMNode.childNodes[0]);
 
           let fSpan = document.createElement("span");
           fSpan.textContent = "333";
           topSpan.appendChild(fSpan);
 
--- a/accessible/tests/mochitest/events/test_valuechange.html
+++ b/accessible/tests/mochitest/events/test_valuechange.html
@@ -29,17 +29,16 @@
     function changeARIAValue(aNodeOrID, aValuenow, aValuetext) {
       this.DOMNode = getNode(aNodeOrID);
       this.eventSeq = [ new invokerChecker(aValuetext ?
                                            EVENT_TEXT_VALUE_CHANGE :
                                            EVENT_VALUE_CHANGE, this.DOMNode),
         ];
 
       this.invoke = function changeARIAValue_invoke() {
-
         // Note: this should not fire an EVENT_VALUE_CHANGE when aria-valuetext
         // is not empty
         if (aValuenow != undefined)
           this.DOMNode.setAttribute("aria-valuenow", aValuenow);
 
         // Note: this should always fire an EVENT_VALUE_CHANGE
         if (aValuetext != undefined)
           this.DOMNode.setAttribute("aria-valuetext", aValuetext);
--- a/accessible/tests/mochitest/name/markup.js
+++ b/accessible/tests/mochitest/name/markup.js
@@ -160,25 +160,23 @@ function testNamesForMarkupRules(aMarkup
  */
 function testNameForRule(aElm, aRuleElm) {
   if (aRuleElm.hasAttribute("attr")) {
     if (gDumpToConsole) {
       dump("\nProcessing rule { attr: " + aRuleElm.getAttribute("attr") + " }\n");
     }
 
     testNameForAttrRule(aElm, aRuleElm);
-
   } else if (aRuleElm.hasAttribute("elm")) {
     if (gDumpToConsole) {
       dump("\nProcessing rule { elm: " + aRuleElm.getAttribute("elm") +
            ", elmattr: " + aRuleElm.getAttribute("elmattr") + " }\n");
     }
 
     testNameForElmRule(aElm, aRuleElm);
-
   } else if (aRuleElm.getAttribute("fromsubtree") == "true") {
     if (gDumpToConsole) {
       dump("\nProcessing rule { fromsubtree: " +
            aRuleElm.getAttribute("fromsubtree") + " }\n");
     }
 
     testNameForSubtreeRule(aElm, aRuleElm);
   }
@@ -188,17 +186,16 @@ function testNameForAttrRule(aElm, aRule
   var name = "";
 
   var attr = aRule.getAttribute("attr");
   var attrValue = aElm.getAttribute(attr);
 
   var type = aRule.getAttribute("type");
   if (type == "string") {
     name = attrValue;
-
   } else if (type == "ref" && attrValue) {
     var ids = attrValue.split(/\s+/);
     for (var idx = 0; idx < ids.length; idx++) {
       var labelElm = getNode(ids[idx]);
       if (name != "")
         name += " ";
 
       name += labelElm.getAttribute("textequiv");
@@ -215,27 +212,24 @@ function testNameForAttrRule(aElm, aRule
 
   // If @recreated attribute is used then this attribute change recreates an
   // accessible. Wait for reorder event in this case or otherwise proceed next
   // test immediately.
   if (aRule.hasAttribute("recreated")) {
     waitForEvent(EVENT_REORDER, aElm.parentNode,
                  gTestIterator.iterateNext, gTestIterator);
     aElm.removeAttribute(attr);
-
   } else if (aRule.hasAttribute("textchanged")) {
     waitForEvent(EVENT_TEXT_INSERTED, aElm,
                  gTestIterator.iterateNext, gTestIterator);
     aElm.removeAttribute(attr);
-
   } else if (aRule.hasAttribute("contentchanged")) {
     waitForEvent(EVENT_REORDER, aElm,
                  gTestIterator.iterateNext, gTestIterator);
     aElm.removeAttribute(attr);
-
   } else {
     aElm.removeAttribute(attr);
     gTestIterator.iterateNext();
   }
 }
 
 function testNameForElmRule(aElm, aRule) {
   var labelElm;
@@ -256,17 +250,16 @@ function testNameForElmRule(aElm, aRule)
       mAttrName: attrname,
       mAttrValue: aElm.getAttribute("id"),
     };
 
     var treeWalker = document.createTreeWalker(document.body,
                                                NodeFilter.SHOW_ELEMENT,
                                                filter);
     labelElm = treeWalker.nextNode();
-
   } else {
     // if attrname is empty then look for the element in subtree.
     labelElm = aElm.getElementsByTagName(tagname)[0];
     if (!labelElm)
       labelElm = aElm.getElementsByTagName("html:" + tagname)[0];
   }
 
   if (!labelElm) {
--- a/accessible/tests/mochitest/relations.js
+++ b/accessible/tests/mochitest/relations.js
@@ -50,17 +50,16 @@ function testRelation(aIdentifier, aRelT
       return;
     }
 
     var msg = relDescrStart + "has no expected targets: '" +
       prettyName(aRelatedIdentifiers) + "'";
 
     ok(false, msg);
     return;
-
   } else if (!aRelatedIdentifiers) {
     ok(false, "There are unexpected targets of " + relDescr);
     return;
   }
 
   var relatedIds = (aRelatedIdentifiers instanceof Array) ?
   aRelatedIdentifiers : [aRelatedIdentifiers];
 
--- a/accessible/tests/mochitest/relations/test_update.html
+++ b/accessible/tests/mochitest/relations/test_update.html
@@ -166,17 +166,16 @@
                                     RELATION_FLOWS_TO, RELATION_FLOWS_FROM));
       gQueue.push(new insertRelated("aria-flowto", "dependent12", false,
                                     RELATION_FLOWS_TO, RELATION_FLOWS_FROM));
 
       // Update relations when accessibles are recreated
       gQueue.push(new recreateRelatives("container", "label", "input"));
 
       gQueue.invoke(); // will call SimpleTest.finish()
-
     }
 
     SimpleTest.waitForExplicitFinish();
     addA11yLoadEvent(doTest);
   </script>
 
 </head>
 
--- a/accessible/tests/mochitest/table.js
+++ b/accessible/tests/mochitest/table.js
@@ -162,17 +162,16 @@ function testTableStruct(aIdentifier, aC
   is(table.columnCount, colsCount,
      "Wrong columns count of " + prettyName(aIdentifier));
 
   // rows and columns extents
   for (let rowIdx = 0; rowIdx < rowCount; rowIdx++) {
     for (let colIdx = 0; colIdx < colsCount; colIdx++) {
       let celltype = aCellsArray[rowIdx][colIdx];
       if (celltype & kOrigin) {
-
         // table getRowExtentAt
         var rowExtent = table.getRowExtentAt(rowIdx, colIdx);
         let idx;
         for (idx = rowIdx + 1;
              idx < rowCount && (aCellsArray[idx][colIdx] & kRowSpanned);
              idx++);
 
         var expectedRowExtent = idx - rowIdx;
@@ -234,17 +233,16 @@ function testTableIndexes(aIdentifier, a
         cellAcc = null;
         cellAcc = tableAcc.getCellAt(rowIdx, colIdx);
       } catch (e) { }
 
       ok(idx != -1 && cellAcc || idx == -1 && !cellAcc,
          id + ": Can't get cell accessible at row = " + rowIdx + ", column = " + colIdx);
 
       if (idx != -1) {
-
         // getRowIndexAt
         var origRowIdx = rowIdx;
         while (origRowIdx > 0 &&
                aIdxes[rowIdx][colIdx] == aIdxes[origRowIdx - 1][colIdx])
           origRowIdx--;
 
         try {
           obtainedRowIdx = tableAcc.getRowIndexAt(idx);
@@ -280,17 +278,16 @@ function testTableIndexes(aIdentifier, a
         }
 
         is(obtainedRowIdxObj.value, origRowIdx,
            id + ": row for index " + idx + " is not correct (getRowAndColumnIndicesAt)");
         is(obtainedColIdxObj.value, origColIdx,
            id + ": column  for index " + idx + " is not correct (getRowAndColumnIndicesAt)");
 
         if (cellAcc) {
-
           var cellId = prettyName(cellAcc);
           cellAcc = getAccessible(cellAcc, [nsIAccessibleTableCell]);
 
           // cell: 'table-cell-index' attribute
           var attrs = cellAcc.attributes;
           var strIdx = "";
           try {
             strIdx = attrs.getStringProperty("table-cell-index");
@@ -303,17 +300,16 @@ function testTableIndexes(aIdentifier, a
             is(parseInt(strIdx), idx,
                 cellId + ": cell index from object attributes of cell accessible isn't corrent.");
           }
 
           // cell: table
           try {
             is(cellAcc.table, tableAcc,
                cellId + ": wrong table accessible for the cell.");
-
           } catch (e) {
             ok(false,
                cellId + ": can't get table accessible from the cell.");
           }
 
           // cell: getRowIndex
           try {
             obtainedRowIdx = cellAcc.rowIndex;
@@ -558,34 +554,30 @@ function testSelectTableColumn(aIdentifi
   for (var rowIdx = 0; rowIdx < rowCount; rowIdx++) {
     for (var colIdx = 0; colIdx < colsCount; colIdx++) {
       var cellState = aCellsArray[rowIdx][colIdx];
 
       if (colIdx == aColIdx) { // select target column
         if (!(cellState & kSpanned)) {
           // Select the cell if it is origin.
           aCellsArray[rowIdx][colIdx] = true;
-
         } else {
           // If the cell is spanned then search origin cell and select it.
           var [origRowIdx, origColIdx] = getOrigRowAndColumn(aCellsArray,
                                                              rowIdx, colIdx);
           aCellsArray[origRowIdx][origColIdx] = true;
         }
-
       } else if (!(cellState & kSpanned)) { // unselect other columns
         if (colIdx > aColIdx) {
           // Unselect the cell if traversed column index is greater than column
           // index of target cell.
           aCellsArray[rowIdx][colIdx] = false;
-
         } else if (!(aCellsArray[rowIdx][aColIdx] & kColSpanned)) {
           // Unselect the cell if the target cell is not row spanned.
           aCellsArray[rowIdx][colIdx] = false;
-
         } else {
           // Unselect the cell if it is not spanned to the target cell.
           for (var spannedColIdx = colIdx + 1; spannedColIdx < aColIdx;
                spannedColIdx++) {
             var spannedCellState = aCellsArray[rowIdx][spannedColIdx];
             if (!(spannedCellState & kRowSpanned)) {
               aCellsArray[rowIdx][colIdx] = false;
               break;
@@ -636,35 +628,31 @@ function testSelectTableRow(aIdentifier,
   for (var rowIdx = 0; rowIdx < rowCount; rowIdx++) {
     for (var colIdx = 0; colIdx < colsCount; colIdx++) {
       var cellState = aCellsArray[rowIdx][colIdx];
 
       if (rowIdx == aRowIdx) { // select the given row
         if (!(cellState & kSpanned)) {
           // Select the cell if it is origin.
           aCellsArray[rowIdx][colIdx] = true;
-
         } else {
           // If the cell is spanned then search origin cell and select it.
           var [origRowIdx, origColIdx] = getOrigRowAndColumn(aCellsArray,
                                                              rowIdx, colIdx);
 
           aCellsArray[origRowIdx][origColIdx] = true;
         }
-
       } else if (!(cellState & kSpanned)) { // unselect other rows
         if (rowIdx > aRowIdx) {
           // Unselect the cell if traversed row index is greater than row
           // index of target cell.
           aCellsArray[rowIdx][colIdx] = false;
-
         } else if (!(aCellsArray[aRowIdx][colIdx] & kRowSpanned)) {
           // Unselect the cell if the target cell is not row spanned.
           aCellsArray[rowIdx][colIdx] = false;
-
         } else {
           // Unselect the cell if it is not spanned to the target cell.
           for (var spannedRowIdx = rowIdx + 1; spannedRowIdx < aRowIdx;
                spannedRowIdx++) {
             var spannedCellState = aCellsArray[spannedRowIdx][colIdx];
             if (!(spannedCellState & kRowSpanned)) {
               aCellsArray[rowIdx][colIdx] = false;
               break;
--- a/accessible/tests/mochitest/text.js
+++ b/accessible/tests/mochitest/text.js
@@ -582,17 +582,16 @@ function testTextHelper(aID, aOffset, aB
     isFunc2(startOffsetObj.value == aStartOffset,
             startMsg + "wrong start offset" +
             "(got '" + startOffsetObj.value + "', expected: '" + aStartOffset + "')" +
             ", offset: " + aOffset + endMsg);
     isFunc3(endOffsetObj.value == aEndOffset,
             startMsg + "wrong end offset" +
             "(got '" + endOffsetObj.value + "', expected: '" + aEndOffset + "')" +
             ", offset: " + aOffset + endMsg);
-
   } catch (e) {
     var okFunc = exceptionFlag ? todo : ok;
     okFunc(false, startMsg + "failed at offset " + aOffset + endMsg +
            ", exception: " + e);
   }
 }
 
 function boundaryToString(aBoundaryType) {
--- a/accessible/tests/mochitest/text/test_atcaretoffset.html
+++ b/accessible/tests/mochitest/text/test_atcaretoffset.html
@@ -100,17 +100,16 @@
 
           // The current word is a farthest word starting at or after the offset.
           if (this.mOffset >= nWord.start) {
             while (this.mOffset >= nWord.start && !this.mLine.isLastWord(cWord)) {
               cWord = nWord;
               nWord = nWord.nextWord;
             }
             pWord = cWord.prevWord;
-
           } else if (this.mOffset < cWord.start) {
             while (this.mOffset < cWord.start) {
               cWord = pWord;
               pWord = pWord.prevWord;
             }
             nWord = cWord.nextWord;
           }
 
--- a/accessible/tests/mochitest/treeupdate/test_bug1100602.html
+++ b/accessible/tests/mochitest/treeupdate/test_bug1100602.html
@@ -64,17 +64,16 @@
 
       this.getID = function showBullet_getID() {
         return "Show bullet by setting style to circle";
       };
     }
 
     var gQueue = null;
     function doTest() {
-
       var list = getNode("list");
       list.setAttribute("style", "list-style-type: circle;");
 
       gQueue = new eventQueue();
       gQueue.push(new hideBullet());
       gQueue.push(new showBullet());
       gQueue.invoke(); // SimpleTest.finish();
     }
--- a/accessible/tests/mochitest/treeupdate/test_optgroup.html
+++ b/accessible/tests/mochitest/treeupdate/test_optgroup.html
@@ -98,17 +98,16 @@
 
     function doTest() {
       gQueue = new eventQueue();
 
       gQueue.push(new addOptGroup("select"));
       gQueue.push(new removeOptGroup("select"));
 
       gQueue.invoke(); // Will call SimpleTest.finish();
-
     }
 
     SimpleTest.waitForExplicitFinish();
     addA11yLoadEvent(doTest);
   </script>
 </head>
 <body>
 
--- a/accessible/tests/mochitest/treeupdate/test_select.html
+++ b/accessible/tests/mochitest/treeupdate/test_select.html
@@ -114,17 +114,16 @@
     function doTest() {
       gQueue = new eventQueue();
 
       gQueue.push(new addOptions("select"));
       gQueue.push(new removeOptions("select"));
       gQueue.push(new setHrefOnOption());
 
       gQueue.invoke(); // Will call SimpleTest.finish();
-
     }
 
     SimpleTest.waitForExplicitFinish();
     addA11yLoadEvent(doTest);
   </script>
 </head>
 <body>
   <p id="display"></p>
--- a/accessible/tests/mochitest/treeupdate/test_table.html
+++ b/accessible/tests/mochitest/treeupdate/test_table.html
@@ -48,17 +48,16 @@
         return "append caption";
       };
     }
 
     function doTest() {
       gQueue = new eventQueue();
       gQueue.push(new appendCaption("table"));
       gQueue.invoke(); // Will call SimpleTest.finish();
-
     }
 
     SimpleTest.waitForExplicitFinish();
     addA11yLoadEvent(doTest);
   </script>
 </head>
 <body>
   <p id="display"></p>
--- a/browser/actors/AboutReaderChild.jsm
+++ b/browser/actors/AboutReaderChild.jsm
@@ -88,17 +88,16 @@ class AboutReaderChild extends ActorChil
         // event, so we need to rely on "pageshow" in this case.
         if (aEvent.persisted) {
           this.updateReaderButton();
         }
         break;
       case "DOMContentLoaded":
         this.updateReaderButton();
         break;
-
     }
   }
 
   /**
    * NB: this function will update the state of the reader button asynchronously
    * after the next mozAfterPaint call (assuming reader mode is enabled and
    * this is a suitable document). Calling it on things which won't be
    * painted is not going to work.
--- a/browser/actors/ContextMenuChild.jsm
+++ b/browser/actors/ContextMenuChild.jsm
@@ -930,17 +930,16 @@ class ContextMenuChild extends ActorChil
             // does in browser.js
             (this._isXULTextLinkLabel(elem) ||
             (elem instanceof this.content.HTMLAnchorElement && elem.href) ||
             (elem instanceof this.content.SVGAElement &&
             (elem.href || elem.hasAttributeNS(XLINK_NS, "href"))) ||
             (elem instanceof this.content.HTMLAreaElement && elem.href) ||
             elem instanceof this.content.HTMLLinkElement ||
             elem.getAttributeNS(XLINK_NS, "type") == "simple")) {
-
           // Target is a link or a descendant of a link.
           context.onLink = true;
 
           // Remember corresponding element.
           context.link = elem;
           context.linkURL = this._getLinkURL();
           context.linkURI = this._getLinkURI();
           context.linkTextStr = this._getLinkText();
--- a/browser/actors/PageInfoChild.jsm
+++ b/browser/actors/PageInfoChild.jsm
@@ -287,17 +287,16 @@ class PageInfoChild extends ActorChild {
 
     return result;
   }
 
   // Other Misc Stuff
   // Modified from the Links Panel v2.3, http://segment7.net/mozilla/links/links.html
   // parse a node to extract the contents of the node
   getValueText(node) {
-
     let valueText = "";
     let content = node.ownerGlobal;
 
     // Form input elements don't generally contain information that is useful to our callers, so return nothing.
     if (node instanceof content.HTMLInputElement ||
         node instanceof content.HTMLSelectElement ||
         node instanceof content.HTMLTextAreaElement) {
       return valueText;
--- a/browser/actors/PluginChild.jsm
+++ b/browser/actors/PluginChild.jsm
@@ -781,17 +781,16 @@ class PluginChild extends ActorChild {
    *   The DOM element that is currently full screen, or null.
    * @param domElement
    *   The DOM element which contains the crashed plugin, or the crashed plugin
    *   itself.
    * @returns bool
    *   True if the plugin is a descendant of the full screen DOM element, false otherwise.
    **/
   isWithinFullScreenElement(fullScreenElement, domElement) {
-
     /**
      * Traverses down iframes until it find a non-iframe full screen DOM element.
      * @param fullScreenIframe
      *  Target iframe to begin searching from.
      * @returns DOM element
      *  The full screen DOM element contained within the iframe (could be inner iframe), or the original iframe if no inner DOM element is found.
      **/
     let getTrueFullScreenElement = fullScreenIframe => {
--- a/browser/base/content/browser-compacttheme.js
+++ b/browser/base/content/browser-compacttheme.js
@@ -43,17 +43,16 @@ var CompactTheme = {
           theme.id == "firefox-compact-light@mozilla.org" ||
           theme.id == "firefox-compact-dark@mozilla.org")) {
         // We are using the theme ID on this object instead of always referencing
         // LightweightThemeManager.currentTheme in case this is a preview
         this._toggleStyleSheet(true);
       } else {
         this._toggleStyleSheet(false);
       }
-
     }
   },
 
   _toggleStyleSheet(enabled) {
     let wasEnabled = this.isStyleSheetEnabled;
     if (enabled) {
       this.styleSheet.disabled = false;
     } else if (!enabled && wasEnabled) {
--- a/browser/base/content/browser-fullScreenAndPointerLock.js
+++ b/browser/base/content/browser-fullScreenAndPointerLock.js
@@ -52,17 +52,16 @@ var PointerlockFsWarning = {
     let timeout = Services.prefs.getIntPref("full-screen-api.warning.timeout");
     let delay = Services.prefs.getIntPref("full-screen-api.warning.delay");
     this.show(aOrigin, "fullscreen-warning", timeout, delay);
   },
 
   // Shows a warning that the site has entered fullscreen or
   // pointer lock for a short duration.
   show(aOrigin, elementId, timeout, delay) {
-
     if (!this._element) {
       this._element = document.getElementById(elementId);
       // Setup event listeners
       this._element.addEventListener("transitionend", this);
       window.addEventListener("mousemove", this, true);
       // The timeout to hide the warning box after a while.
       this._timeoutHide = new this.Timeout(() => {
         this._state = "hidden";
@@ -407,17 +406,16 @@ var FullScreen = {
         Services.obs.notifyObservers(window, "fullscreen-painted");
         TelemetryStopwatch.finish("FULLSCREEN_CHANGE_MS");
         break;
       }
     }
   },
 
   enterDomFullscreen(aBrowser) {
-
     if (!document.fullscreenElement) {
       return;
     }
 
     // If we have a current pointerlock warning shown then hide it
     // before transition.
     PointerlockFsWarning.close();
 
--- a/browser/base/content/browser-gestureSupport.js
+++ b/browser/base/content/browser-gestureSupport.js
@@ -336,17 +336,16 @@ var gGestureSupport = {
       if (node.getAttribute("disabled") != "true") {
         let cmdEvent = document.createEvent("xulcommandevent");
         cmdEvent.initCommandEvent("command", true, true, window, 0,
                                   aEvent.ctrlKey, aEvent.altKey,
                                   aEvent.shiftKey, aEvent.metaKey,
                                   aEvent, aEvent.mozInputSource);
         node.dispatchEvent(cmdEvent);
       }
-
     } else {
       goDoCommand(aCommand);
     }
   },
 
   /**
    * Handle continual motion events.  This function will be set by
    * _setupGesture or _setupSwipe.
--- a/browser/base/content/browser-siteIdentity.js
+++ b/browser/base/content/browser-siteIdentity.js
@@ -587,22 +587,20 @@ var gIdentityHandler = {
 
     // keeps track if we should show an indicator that there are active permissions
     let hasGrantedPermissions = false;
 
     // show permission icons
     let permissions = SitePermissions.getAllForBrowser(gBrowser.selectedBrowser);
     for (let permission of permissions) {
       if (permission.state == SitePermissions.BLOCK) {
-
         let icon = permissionAnchors[permission.id];
         if (icon) {
           icon.setAttribute("showing", "true");
         }
-
       } else if (permission.state != SitePermissions.UNKNOWN) {
         hasGrantedPermissions = true;
       }
     }
 
     if (hasGrantedPermissions) {
       this._identityBox.classList.add("grantedPermissions");
     }
--- a/browser/base/content/browser-tabsintitlebar.js
+++ b/browser/base/content/browser-tabsintitlebar.js
@@ -1,17 +1,16 @@
 /* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
 
 var TabsInTitlebar;
 
 { // start private TabsInTitlebar scope
-
 TabsInTitlebar = {
   init() {
     this._readPref();
     Services.prefs.addObserver(this._prefName, this);
 
     dragSpaceObserver.init();
     this._initialized = true;
     this._update();
@@ -114,17 +113,16 @@ let dragSpaceObserver = {
   observe() {
     if (Services.prefs.getBoolPref(this.pref)) {
       document.documentElement.setAttribute("extradragspace", "true");
     } else {
       document.documentElement.removeAttribute("extradragspace");
     }
   },
 };
-
 } // end private TabsInTitlebar scope
 
 function onTitlebarMaxClick() {
   if (window.windowState == window.STATE_MAXIMIZED)
     window.restore();
   else
     window.maximize();
 }
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -3036,17 +3036,16 @@ var BrowserOnClick = {
       case "copyToClipboard":
         const gClipboardHelper = Cc["@mozilla.org/widget/clipboardhelper;1"]
                                     .getService(Ci.nsIClipboardHelper);
         securityInfo = getSecurityInfo(securityInfoAsString);
         let detailedInfo = getDetailedCertErrorInfo(location,
                                                     securityInfo);
         gClipboardHelper.copyString(detailedInfo);
         break;
-
     }
   },
 
   onAboutBlocked(elementId, reason, isTopFrame, location, blockedInfo) {
     // Depending on what page we are displaying here (malware/phishing/unwanted)
     // use the right strings and links for each.
     let bucketName = "";
     let sendTelemetry = false;
@@ -4691,17 +4690,16 @@ var XULBrowserWindow = {
   // This function fires only for the currently selected tab.
   onStateChange(aWebProgress, aRequest, aStateFlags, aStatus) {
     const nsIWebProgressListener = Ci.nsIWebProgressListener;
 
     let browser = gBrowser.selectedBrowser;
 
     if (aStateFlags & nsIWebProgressListener.STATE_START &&
         aStateFlags & nsIWebProgressListener.STATE_IS_NETWORK) {
-
       if (aRequest && aWebProgress.isTopLevel) {
         // clear out search-engine data
         browser.engines = null;
       }
 
       this.isBusy = true;
 
       if (!(aStateFlags & nsIWebProgressListener.STATE_RESTORING)) {
--- a/browser/base/content/contentSearchUI.js
+++ b/browser/base/content/contentSearchUI.js
@@ -1,16 +1,15 @@
 /* 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";
 
 this.ContentSearchUIController = (function() {
-
 const MAX_DISPLAYED_SUGGESTIONS = 6;
 const SUGGESTION_ID_PREFIX = "searchSuggestion";
 const ONE_OFF_ID_PREFIX = "oneOff";
 const DEFAULT_INPUT_ICON = "chrome://browser/skin/search-glass.svg";
 
 const HTML_NS = "http://www.w3.org/1999/xhtml";
 
 /**
--- a/browser/base/content/contentTheme.js
+++ b/browser/base/content/contentTheme.js
@@ -1,16 +1,15 @@
 /* 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";
 
 {
-
 function _isTextColorDark(r, g, b) {
   return (0.2125 * r + 0.7154 * g + 0.0721 * b) <= 110;
 }
 
 const inContentVariableMap = [
   ["--newtab-background-color", {
     lwtProperty: "ntp_background",
   }],
@@ -147,10 +146,9 @@ const ContentThemeController = {
         value = `rgba(${r}, ${g}, ${b}, ${a})`;
       }
 
       this._setProperty(elem, cssVarName, value);
     }
   },
 };
 ContentThemeController.init();
-
 }
--- a/browser/base/content/nsContextMenu.js
+++ b/browser/base/content/nsContextMenu.js
@@ -1100,17 +1100,16 @@ nsContextMenu.prototype = {
     // nsIExternalHelperAppService.doContent, which will wait for the
     // appropriate MIME-type headers and then prompt the user with a
     // file picker
     function saveAsListener() {}
     saveAsListener.prototype = {
       extListener: null,
 
       onStartRequest: function saveLinkAs_onStartRequest(aRequest, aContext) {
-
         // if the timer fired, the error status will have been caused by that,
         // and we'll be restarting in onStopRequest, so no reason to notify
         // the user
         if (aRequest.status == NS_ERROR_SAVE_LINK_AS_TIMEOUT)
           return;
 
         timer.cancel();
 
--- a/browser/base/content/tabbrowser.js
+++ b/browser/base/content/tabbrowser.js
@@ -1,15 +1,14 @@
 /* -*- indent-tabs-mode: nil; js-indent-level: 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/. */
 
 { // start private scope for gBrowser
-
 /**
  * A set of known icons to use for internal pages. These are hardcoded so we can
  * start loading them faster than ContentLinkHandler would normally find them.
  */
 const FAVICON_DEFAULTS = {
   "about:newtab": "chrome://branding/content/icon32.png",
   "about:home": "chrome://branding/content/icon32.png",
   "about:welcome": "chrome://branding/content/icon32.png",
@@ -2425,17 +2424,16 @@ window._gBrowser = {
       // Ensure we have an index if one was not provided. _insertTabAt
       // will do some additional validation.
       if (typeof index != "number") {
         // Move the new tab after another tab if needed.
         if (!bulkOrderedOpen &&
             ((openerTab &&
               Services.prefs.getBoolPref("browser.tabs.insertRelatedAfterCurrent")) ||
              Services.prefs.getBoolPref("browser.tabs.insertAfterCurrent"))) {
-
           let lastRelatedTab = openerTab && this._lastRelatedTabMap.get(openerTab);
           let previousTab = (lastRelatedTab || openerTab || this.selectedTab);
           if (previousTab.multiselected) {
             index = this.selectedTabs[this.selectedTabs.length - 1]._tPos + 1;
           } else {
             index = previousTab._tPos + 1;
           }
 
@@ -5003,17 +5001,16 @@ class TabProgressListener {
         }
 
         if (this.mTab.selected) {
           gBrowser._isBusy = true;
         }
       }
     } else if (aStateFlags & Ci.nsIWebProgressListener.STATE_STOP &&
                aStateFlags & Ci.nsIWebProgressListener.STATE_IS_NETWORK) {
-
       let modifiedAttrs = [];
       if (this.mTab.hasAttribute("busy")) {
         this.mTab.removeAttribute("busy");
         modifiedAttrs.push("busy");
 
         // Only animate the "burst" indicating the page has loaded if
         // the top-level page is the one that finished loading.
         if (aWebProgress.isTopLevel && !aWebProgress.isLoadingDocument &&
@@ -5243,17 +5240,16 @@ class TabProgressListener {
     return this._callProgressListeners("onRefreshAttempted",
                                        [aWebProgress, aURI, aDelay, aSameURI]);
   }
 }
 TabProgressListener.prototype.QueryInterface = ChromeUtils.generateQI(
   ["nsIWebProgressListener",
    "nsIWebProgressListener2",
    "nsISupportsWeakReference"]);
-
 } // end private scope for gBrowser
 
 var StatusPanel = {
   get panel() {
     delete this.panel;
     return this.panel = document.getElementById("statuspanel");
   },
 
--- a/browser/base/content/test/contextMenu/browser_utilityOverlayPrincipal.js
+++ b/browser/base/content/test/contextMenu/browser_utilityOverlayPrincipal.js
@@ -39,16 +39,15 @@ function test_openUILink_checkPrincipal(
       ok(content.document.nodePrincipal.isCodebasePrincipal,
         "sanity: correct doc.nodePrincipal");
       is(content.document.nodePrincipal.URI.asciiSpec, "http://example.com/",
        "sanity: correct doc.nodePrincipal URL");
     });
 
     gBrowser.removeCurrentTab();
     runNextTest();
-
   });
 
   // Ensure we get the correct default of "allowInheritPrincipal: false" from openUILink
   openUILink("http://example.com", null, {
     triggeringPrincipal: Services.scriptSecurityManager.getSystemPrincipal({}),
   }); // defaults to "current"
 }
--- a/browser/base/content/test/general/browser_blockHPKP.js
+++ b/browser/base/content/test/general/browser_blockHPKP.js
@@ -42,17 +42,16 @@ function test() {
     let uri = Services.io.newURI("https://" + kPinningDomain);
     gSSService.removeState(Ci.nsISiteSecurityService.HEADER_HPKP, uri, 0);
   });
   whenNewTabLoaded(window, loadPinningPage);
 }
 
 // Start by making a successful connection to a domain that will pin a site
 function loadPinningPage() {
-
   BrowserTestUtils.loadURI(gBrowser.selectedBrowser, "https://" + kPinningDomain + kURLPath + "valid").then(function() {
       BrowserTestUtils.browserLoaded(gBrowser.selectedBrowser).then(() => successfulPinningPageListener.handleEvent());
   });
 }
 
 // After the site is pinned try to load with a subdomain site that should
 // fail to validate
 var successfulPinningPageListener = {
--- a/browser/base/content/test/general/browser_bug427559.js
+++ b/browser/base/content/test/general/browser_bug427559.js
@@ -29,10 +29,9 @@ add_task(async function() {
   await BrowserTestUtils.switchTab(gBrowser, testTab);
 
   // Make sure focus is given to the window because the element is now gone.
   is((await getFocusedLocalName(browser)), "body", "body is focused");
 
   // Cleanup.
   gBrowser.removeTab(blankTab);
   gBrowser.removeCurrentTab();
-
 });
--- a/browser/base/content/test/general/browser_bug435325.js
+++ b/browser/base/content/test/general/browser_bug435325.js
@@ -1,15 +1,14 @@
 /* Any copyright is dedicated to the Public Domain.
    http://creativecommons.org/publicdomain/zero/1.0/ */
 
 /* Ensure that clicking the button in the Offline mode neterror page makes the browser go online. See bug 435325. */
 
 add_task(async function checkSwitchPageToOnlineMode() {
-
   // Go offline and disable the proxy and cache, then try to load the test URL.
   Services.io.offline = true;
 
   // Tests always connect to localhost, and per bug 87717, localhost is now
   // reachable in offline mode.  To avoid this, disable any proxy.
   let proxyPrefValue = SpecialPowers.getIntPref("network.proxy.type");
   await SpecialPowers.pushPrefEnv({"set": [
     ["network.proxy.type", 0],
--- a/browser/base/content/test/general/browser_bug559991.js
+++ b/browser/base/content/test/general/browser_bug559991.js
@@ -1,12 +1,11 @@
 var tab;
 
 function test() {
-
   // ----------
   // Test setup
 
   waitForExplicitFinish();
 
   Services.prefs.setBoolPref("browser.zoom.updateBackgroundTabs", true);
   Services.prefs.setBoolPref("browser.zoom.siteSpecific", true);
 
--- a/browser/base/content/test/general/browser_bug734076.js
+++ b/browser/base/content/test/general/browser_bug734076.js
@@ -1,13 +1,12 @@
 /* Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/publicdomain/zero/1.0/ */
 
 add_task(async function() {
-
   // allow top level data: URI navigations, otherwise loading data: URIs
   // in toplevel windows fail.
   await SpecialPowers.pushPrefEnv({
     "set": [["security.data_uri.block_toplevel_data_uri_navigations", false]],
   });
 
   let tab = await BrowserTestUtils.openNewForegroundTab(gBrowser, null, false);
 
--- a/browser/base/content/test/general/browser_e10s_switchbrowser.js
+++ b/browser/base/content/test/general/browser_e10s_switchbrowser.js
@@ -81,17 +81,16 @@ var waitForLoadWithFlags = async functio
   info("Loading " + uri + " flags = " + flags);
   gBrowser.selectedBrowser.loadURI(uri, {
     flags,
     triggeringPrincipal: Services.scriptSecurityManager.getSystemPrincipal(),
   });
 
   await BrowserTestUtils.browserStopped(gBrowser);
   if (!(flags & Ci.nsIWebNavigation.LOAD_FLAGS_BYPASS_HISTORY)) {
-
     if (flags & Ci.nsIWebNavigation.LOAD_FLAGS_REPLACE_HISTORY) {
       gExpectedHistory.entries.pop();
     } else {
       gExpectedHistory.index++;
     }
 
     gExpectedHistory.entries.push({
       uri: gBrowser.currentURI.spec,
--- a/browser/base/content/test/general/browser_remoteWebNavigation_postdata.js
+++ b/browser/base/content/test/general/browser_remoteWebNavigation_postdata.js
@@ -13,17 +13,16 @@ add_task(async function test_remoteWebNa
   let obj = {};
   ChromeUtils.import("resource://testing-common/httpd.js", obj);
   ChromeUtils.import("resource://services-common/utils.js", obj);
 
   let server = new obj.HttpServer();
   server.start(-1);
 
   await new Promise(resolve => {
-
     server.registerPathHandler("/test", (request, response) => {
       let body = obj.CommonUtils.readBytesFromInputStream(request.bodyInputStream);
       is(body, "success", "request body is correct");
       is(request.method, "POST", "request was a post");
       response.write("Received from POST: " + body);
       resolve();
     });
 
--- a/browser/base/content/test/general/browser_save_private_link_perwindowpb.js
+++ b/browser/base/content/test/general/browser_save_private_link_perwindowpb.js
@@ -61,17 +61,16 @@ function promiseImageDownloaded() {
     mockTransferRegisterer.register();
 
     registerCleanupFunction(function() {
       mockTransferCallback = null;
       mockTransferRegisterer.unregister();
       MockFilePicker.cleanup();
       destDir.remove(true);
     });
-
   });
 }
 
 add_task(async function() {
   let testURI = "http://mochi.test:8888/browser/browser/base/content/test/general/bug792517.html";
   let privateWindow = await BrowserTestUtils.openNewBrowserWindow({private: true});
   let tab = await BrowserTestUtils.openNewForegroundTab(privateWindow.gBrowser, testURI);
 
--- a/browser/base/content/test/general/browser_tabfocus.js
+++ b/browser/base/content/test/general/browser_tabfocus.js
@@ -506,17 +506,16 @@ function expectFocusShift(callback, expe
       newElementIsFocused = false;
     }
 
     if (_lastfocus && _lastfocus != _expectedElement)
       expectedEvents.push("blur: " + _lastfocus);
 
     if (_lastfocuswindow &&
         _lastfocuswindow != expectedWindow) {
-
       if (!gMultiProcessBrowser || _lastfocuswindow != "main-window") {
         expectedEvents.push("blur: " + _lastfocuswindow + "-document");
         expectedEvents.push("blur: " + _lastfocuswindow + "-window");
       }
     }
 
     if (expectedWindow && _lastfocuswindow != expectedWindow) {
       if (gMultiProcessBrowser && expectedWindow != "main-window") {
--- a/browser/base/content/test/general/browser_tabkeynavigation.js
+++ b/browser/base/content/test/general/browser_tabkeynavigation.js
@@ -1,13 +1,12 @@
 /*
  * This test checks that keyboard navigation for tabs isn't blocked by content
  */
 add_task(async function test() {
-
   let testPage1 = "data:text/html,<html id='tab1'><body><button id='button1'>Tab 1</button></body></html>";
   let testPage2 = "data:text/html,<html id='tab2'><body><button id='button2'>Tab 2</button><script>function preventDefault(event) { event.preventDefault(); event.stopImmediatePropagation(); } window.addEventListener('keydown', preventDefault, true); window.addEventListener('keypress', preventDefault, true);</script></body></html>";
   let testPage3 = "data:text/html,<html id='tab3'><body><button id='button3'>Tab 3</button></body></html>";
 
   let tab1 = await BrowserTestUtils.openNewForegroundTab(gBrowser, testPage1);
   let browser1 = gBrowser.getBrowserForTab(tab1);
   let tab2 = await BrowserTestUtils.openNewForegroundTab(gBrowser, testPage2);
   let tab3 = await BrowserTestUtils.openNewForegroundTab(gBrowser, testPage3);
--- a/browser/base/content/test/general/browser_web_channel.js
+++ b/browser/base/content/test/general/browser_web_channel.js
@@ -143,17 +143,16 @@ var gTests = [
        */
 
       let preRedirectChannel = new WebChannel("pre_redirect", Services.io.newURI(HTTP_IFRAME_PATH));
       let postRedirectChannel = new WebChannel("post_redirect", Services.io.newURI(HTTP_REDIRECTED_IFRAME_PATH));
 
       let promiseTestDone = new Promise(function(resolve, reject) {
         preRedirectChannel.listen(function(id, message, preRedirectSender) {
           if (message.command === "redirecting") {
-
             postRedirectChannel.listen(function(aId, aMessage, aPostRedirectSender) {
               is(aId, "post_redirect");
               isnot(aMessage.command, "no_response_expected");
 
               if (aMessage.command === "loaded") {
                 // The message should not be received on the preRedirectChannel
                 // because the target window has redirected.
                 preRedirectChannel.send({ command: "no_response_expected" }, preRedirectSender);
@@ -244,17 +243,16 @@ var gTests = [
           resolve();
         });
       });
 
       await BrowserTestUtils.withNewTab({
         gBrowser,
         url: HTTP_PATH + HTTP_ENDPOINT + "?unsolicited",
       }, async function(targetBrowser) {
-
         channel.send({ command: "unsolicited" }, {
           browser: targetBrowser,
           principal: Services.scriptSecurityManager.createCodebasePrincipal(targetURI, {}),
         });
 
         await messagePromise;
         channel.stopListening();
       });
@@ -281,17 +279,16 @@ var gTests = [
           }
         });
       });
 
       await BrowserTestUtils.withNewTab({
         gBrowser,
         url: HTTP_PATH + HTTP_ENDPOINT + "?unsolicited",
       }, async function(targetBrowser) {
-
         let mismatchURI = Services.io.newURI(HTTP_MISMATCH_PATH);
         let mismatchPrincipal = Services.scriptSecurityManager.createCodebasePrincipal(mismatchURI, {});
 
         // send a message to the wrong principal. It should not be delivered
         // to content, and should not be echoed back.
         channel.send({ command: "unsolicited_no_response_expected" }, {
           browser: targetBrowser,
           principal: mismatchPrincipal,
--- a/browser/base/content/test/general/browser_windowactivation.js
+++ b/browser/base/content/test/general/browser_windowactivation.js
@@ -8,17 +8,16 @@ const testPage = getRootDirectory(gTestP
 const testPage2 = getRootDirectory(gTestPath) + "file_window_activation2.html";
 
 var colorChangeNotifications = 0;
 var otherWindow;
 
 var browser1, browser2;
 
 add_task(async function reallyRunTests() {
-
   let tab1 = await BrowserTestUtils.openNewForegroundTab(gBrowser, testPage);
   browser1 = tab1.linkedBrowser;
 
   // This can't use openNewForegroundTab because if we focus tab2 now, we
   // won't send a focus event during test 6, further down in this file.
   let tab2 = BrowserTestUtils.addTab(gBrowser, testPage);
   browser2 = tab2.linkedBrowser;
   await BrowserTestUtils.browserLoaded(browser2);
--- a/browser/base/content/test/general/contentSearchUI.js
+++ b/browser/base/content/test/general/contentSearchUI.js
@@ -1,17 +1,16 @@
 /* Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/publicdomain/zero/1.0/ */
 
 /* eslint-env mozilla/frame-script */
 
 "use strict";
 
 (function() {
-
 const TEST_MSG = "ContentSearchUIControllerTest";
 const ENGINE_NAME = "browser_searchSuggestionEngine searchSuggestionEngine.xml";
 var gController;
 
 addMessageListener(TEST_MSG, msg => {
   messageHandlers[msg.data.type](msg.data.data);
 });
 
@@ -197,10 +196,9 @@ function currentState() {
       state.suggestionAtIndex.push(gController.suggestionAtIndex(i));
       state.isFormHistorySuggestionAtIndex.push(
         gController.isFormHistorySuggestionAtIndex(i));
     }
   }
 
   return state;
 }
-
 })();
--- a/browser/base/content/test/general/contextmenu_common.js
+++ b/browser/base/content/test/general/contextmenu_common.js
@@ -142,17 +142,16 @@ function checkContextMenu(expectedItems)
 }
 
 function checkMenuItem(actualItem, actualEnabled, expectedItem, expectedEnabled, index) {
     is(actualItem, expectedItem,
        "checking item #" + index / 2 + " (" + expectedItem + ") name");
 
     if (typeof expectedEnabled == "object" && expectedEnabled != null ||
         typeof actualEnabled == "object" && actualEnabled != null) {
-
         ok(!(actualEnabled == null), "actualEnabled is not null");
         ok(!(expectedEnabled == null), "expectedEnabled is not null");
         is(typeof actualEnabled, typeof expectedEnabled, "checking types");
 
         if (typeof actualEnabled != typeof expectedEnabled ||
             actualEnabled == null || expectedEnabled == null)
           return;
 
--- a/browser/base/content/test/general/head.js
+++ b/browser/base/content/test/general/head.js
@@ -37,17 +37,16 @@ function closeAllNotifications() {
     for (let notification of gNotificationBox.allNotifications) {
       waitForNotificationClose(notification, function() {
         if (gNotificationBox.allNotifications.length === 0) {
           resolve();
         }
       });
       notification.close();
     }
-
   });
 }
 
 function whenDelayedStartupFinished(aWindow, aCallback) {
   Services.obs.addObserver(function observer(aSubject, aTopic) {
     if (aWindow == aSubject) {
       Services.obs.removeObserver(observer, aTopic);
       executeSoon(aCallback);
@@ -208,17 +207,16 @@ function promiseOpenAndLoadWindow(aOptio
     if (aWaitForDelayedStartup) {
       Services.obs.addObserver(function onDS(aSubject, aTopic, aData) {
         if (aSubject != win) {
           return;
         }
         Services.obs.removeObserver(onDS, "browser-delayed-startup-finished");
         resolve(win);
       }, "browser-delayed-startup-finished");
-
     } else {
       win.addEventListener("load", function() {
         resolve(win);
       }, {once: true});
     }
   });
 }
 
--- a/browser/base/content/test/pageActions/browser_page_action_menu_share_win.js
+++ b/browser/base/content/test/pageActions/browser_page_action_menu_share_win.js
@@ -21,17 +21,16 @@ let stub = sinon.stub(BrowserPageActions
 });
 
 registerCleanupFunction(async function() {
   stub.restore();
   delete window.sinon;
 });
 
 add_task(async function shareURL() {
-
   if (!AppConstants.isPlatformAndVersionAtLeast("win", "6.4")) {
     Assert.ok(true, "We only expose share on windows 10 and above");
     return;
   }
 
   await BrowserTestUtils.withNewTab(TEST_URL, async () => {
     // Open the panel.
     await promisePageActionPanelOpen();
--- a/browser/base/content/test/pageinfo/browser_pageinfo_firstPartyIsolation.js
+++ b/browser/base/content/test/pageinfo/browser_pageinfo_firstPartyIsolation.js
@@ -50,17 +50,16 @@ function testFirstPartyDomain(pageInfo) 
 
         // Check the node has the attribute 'triggeringprincipal'.
         let serial = Cc["@mozilla.org/network/serialization-helper;1"]
                        .getService(Ci.nsISerializationHelper);
         let loadingPrincipalStr = preview.getAttribute("triggeringprincipal");
         let loadingPrincipal = serial.deserializeObject(loadingPrincipalStr);
         Assert.equal(loadingPrincipal.originAttributes.firstPartyDomain, EXPECTED_DOMAIN,
                      "loadingPrincipal should have firstPartyDomain set to " + EXPECTED_DOMAIN);
-
       }
 
       resolve();
     });
   });
 }
 
 async function test() {
--- a/browser/base/content/test/pageinfo/browser_pageinfo_security.js
+++ b/browser/base/content/test/pageinfo/browser_pageinfo_security.js
@@ -7,17 +7,16 @@ const TEST_ORIGIN = "https://example.com
 const TEST_SUB_ORIGIN = "https://test1.example.com";
 const REMOVE_DIALOG_URL = "chrome://browser/content/preferences/siteDataRemoveSelected.xul";
 
 // Test displaying and removing quota managed data.
 add_task(async function test_SiteData() {
   await SiteDataTestUtils.addToIndexedDB(TEST_ORIGIN);
 
   await BrowserTestUtils.withNewTab(TEST_ORIGIN, async function(browser) {
-
     let totalUsage = await SiteDataTestUtils.getQuotaUsage(TEST_ORIGIN);
     Assert.greater(totalUsage, 0, "The total usage should not be 0");
 
     let pageInfo = BrowserPageInfo(TEST_ORIGIN, "securityTab");
     await BrowserTestUtils.waitForEvent(pageInfo, "load");
 
     let label = pageInfo.document.getElementById("security-privacy-sitedata-value");
     let clearButton = pageInfo.document.getElementById("security-clear-sitedata");
--- a/browser/base/content/test/permissions/browser_autoplay_blocked.js
+++ b/browser/base/content/test/permissions/browser_autoplay_blocked.js
@@ -17,17 +17,16 @@ function closeIdentityPopup() {
 }
 
 function autoplayBlockedIcon() {
   return document.querySelector("#blocked-permissions-container " +
                                 ".blocked-permission-icon.autoplay-media-icon");
 }
 
 add_task(async function testMainViewVisible() {
-
   Services.prefs.setIntPref("media.autoplay.default", Ci.nsIAutoplay.ALLOWED);
 
   await BrowserTestUtils.withNewTab(AUTOPLAY_PAGE, async function() {
     let permissionsList = document.getElementById("identity-popup-permission-list");
     let emptyLabel = permissionsList.nextElementSibling.nextElementSibling;
 
     ok(BrowserTestUtils.is_hidden(autoplayBlockedIcon()), "Blocked icon not shown");
 
--- a/browser/base/content/test/permissions/browser_permissions.js
+++ b/browser/base/content/test/permissions/browser_permissions.js
@@ -263,17 +263,16 @@ add_task(async function testPolicyPermis
 
     Services.perms.removeAll();
     await closeIdentityPopup();
   });
 });
 
 add_task(async function testHiddenAfterRefresh() {
   await BrowserTestUtils.withNewTab(PERMISSIONS_PAGE, async function(browser) {
-
     ok(BrowserTestUtils.is_hidden(gIdentityHandler._identityPopup), "Popup is hidden");
 
     await openIdentityPopup();
 
     ok(!BrowserTestUtils.is_hidden(gIdentityHandler._identityPopup), "Popup is shown");
 
     let reloaded = BrowserTestUtils.browserLoaded(browser, false, PERMISSIONS_PAGE);
     EventUtils.synthesizeKey("VK_F5", {}, browser.ownerGlobal);
--- a/browser/base/content/test/plugins/browser_CTP_zoom.js
+++ b/browser/base/content/test/plugins/browser_CTP_zoom.js
@@ -38,17 +38,16 @@ add_task(async function() {
 
   await promisePopupNotification("click-to-play-plugins");
 });
 
 // Enlarges the zoom level 4 times and tests that the overlay is
 // visible after each enlargement.
 add_task(async function() {
   for (let count = 0; count < 4; count++) {
-
     FullZoom.enlarge();
 
     // Reload the page
     await promiseTabLoadEvent(gBrowser.selectedTab, gTestRoot + "plugin_zoom.html");
     await promiseUpdatePluginBindings(gTestBrowser);
     await ContentTask.spawn(gTestBrowser, { count }, async function(args) {
       let doc = content.document;
       let plugin = doc.getElementById("test");
--- a/browser/base/content/test/popupNotifications/browser_popupNotification_3.js
+++ b/browser/base/content/test/popupNotifications/browser_popupNotification_3.js
@@ -113,17 +113,16 @@ var tests = [
     onShown(popup) {
       checkPopup(popup, this.notifyObj);
       triggerMainCommand(popup);
 
       // Wait to see if the main command worked
       executeSoon(function delayedDismissal() {
         dismissNotification(popup);
       });
-
     },
     onHidden(popup) {
       ok(!this.notifyObj.mainActionClicked, "mainAction was not clicked because it was too soon");
       ok(this.notifyObj.dismissalCallbackTriggered, "dismissal callback was triggered");
     },
   },
   // test security delay - after delay
   { id: "Test#5",
@@ -136,17 +135,16 @@ var tests = [
     },
     onShown(popup) {
       checkPopup(popup, this.notifyObj);
 
       // Wait until after the delay to trigger the main action
       setTimeout(function delayedDismissal() {
         triggerMainCommand(popup);
       }, 500);
-
     },
     onHidden(popup) {
       ok(this.notifyObj.mainActionClicked, "mainAction was clicked after the delay");
       ok(!this.notifyObj.dismissalCallbackTriggered, "dismissal callback was not triggered");
       PopupNotifications.buttonDelay = PREF_SECURITY_DELAY_INITIAL;
     },
   },
   // reload removes notification
--- a/browser/base/content/test/sanitize/browser_sanitize-timespans.js
+++ b/browser/base/content/test/sanitize/browser_sanitize-timespans.js
@@ -16,39 +16,36 @@ function promiseFormHistoryRemoved() {
       Services.obs.removeObserver(onfh, "satchel-storage-changed");
       resolve();
     }, "satchel-storage-changed");
   });
 }
 
 function promiseDownloadRemoved(list) {
   return new Promise(resolve => {
-
     let view = {
       onDownloadRemoved(download) {
         list.removeView(view);
         resolve();
       },
     };
 
     list.addView(view);
-
   });
 }
 
 add_task(async function test() {
   await setupDownloads();
   await setupFormHistory();
   await setupHistory();
   await onHistoryReady();
 });
 
 function countEntries(name, message, check) {
   return new Promise((resolve, reject) => {
-
     var obj = {};
     if (name !== null)
       obj.fieldname = name;
 
     let count;
     FormHistory.count(obj, { handleResult: result => count = result,
                              handleError(error) {
                                reject(error);
@@ -56,17 +53,16 @@ function countEntries(name, message, che
                              },
                              handleCompletion(reason) {
                                if (!reason) {
                                  check(count, message);
                                  resolve();
                                }
                              },
                            });
-
   });
 }
 
 async function onHistoryReady() {
   var hoursSinceMidnight = new Date().getHours();
   var minutesSinceMidnight = hoursSinceMidnight * 60 + new Date().getMinutes();
 
   // Should test cookies here, but nsICookieManager/nsICookieService
@@ -425,17 +421,16 @@ async function onHistoryReady() {
      "Pretend visit to before-today.com should now be deleted");
 
   await countEntries("b4today", "b4today form entry should be deleted", checkZero);
 
   ok(!(await downloadExists(publicList, "fakefile-old")), "Year old download should now be deleted");
 }
 
 async function setupHistory() {
-
   let places = [];
 
   function addPlace(aURI, aTitle, aVisitDate) {
     places.push({
       uri: aURI,
       title: aTitle,
       visitDate: aVisitDate,
       transition: Ci.nsINavHistoryService.TRANSITION_LINK,
@@ -459,20 +454,18 @@ async function setupHistory() {
 
   let lastYear = new Date();
   lastYear.setFullYear(lastYear.getFullYear() - 1);
   addPlace("http://before-today.com/", "Before Today", lastYear.getTime() * 1000);
   await PlacesTestUtils.addVisits(places);
 }
 
 async function setupFormHistory() {
-
   function searchEntries(terms, params) {
     return new Promise((resolve, reject) => {
-
       let results = [];
       FormHistory.search(terms, params, { handleResult: result => results.push(result),
                                           handleError(error) {
                                             reject(error);
                                             throw new Error("Error occurred searching form history: " + error);
                                           },
                                           handleCompletion(reason) { resolve(results); },
                                         });
@@ -589,17 +582,16 @@ async function setupFormHistory() {
   await countEntries("4hour", "Checking for 4hour form history entry creation", checkOne);
   await countEntries("4hour10minutes", "Checking for 4hour10minutes form history entry creation", checkOne);
   await countEntries("today", "Checking for today form history entry creation", checkOne);
   await countEntries("b4today", "Checking for b4today form history entry creation", checkOne);
   is(checks, 9, "9 checks made");
 }
 
 async function setupDownloads() {
-
   let publicList = await Downloads.getList(Downloads.PUBLIC);
 
   let download = await Downloads.createDownload({
     source: "https://bugzilla.mozilla.org/show_bug.cgi?id=480169",
     target: "fakefile-10-minutes",
   });
   download.startTime = new Date(now_mSec - 10 * kMsecPerMin); // 10 minutes ago
   download.canceled = true;
--- a/browser/base/content/test/static/browser_all_files_referenced.js
+++ b/browser/base/content/test/static/browser_all_files_referenced.js
@@ -208,17 +208,16 @@ if (!isDevtools) {
   // services/sync/modules/main.js
   whitelist.add("resource://services-sync/service.js");
   // services/sync/modules/service.js
   for (let module of ["addons.js", "bookmarks.js", "forms.js", "history.js",
                       "passwords.js", "prefs.js", "tabs.js",
                       "extension-storage.js"]) {
     whitelist.add("resource://services-sync/engines/" + module);
   }
-
 }
 
 if (AppConstants.MOZ_CODE_COVERAGE) {
   whitelist.add("chrome://marionette/content/PerTestCoverageUtils.jsm");
 }
 
 const gInterestingCategories = new Set([
   "agent-style-sheets", "addon-provider-module", "webextension-modules",
--- a/browser/base/content/test/sync/browser_fxa_web_channel.js
+++ b/browser/base/content/test/sync/browser_fxa_web_channel.js
@@ -40,17 +40,16 @@ var gTests = [
       }, async function() {
         await promiseObserver;
       });
     },
   },
   {
     desc: "fxa web channel - login messages should notify the fxAccounts object",
     async run() {
-
       let promiseLogin = new Promise((resolve, reject) => {
         let login = (accountData) => {
           Assert.equal(typeof accountData.authAt, "number");
           Assert.equal(accountData.email, "testuser@testuser.com");
           Assert.equal(accountData.keyFetchToken, "key_fetch_token");
           Assert.equal(accountData.sessionToken, "session_token");
           Assert.equal(accountData.uid, "uid");
           Assert.equal(accountData.unwrapBKey, "unwrap_b_key");
@@ -78,17 +77,16 @@ var gTests = [
     },
   },
   {
     desc: "fxa web channel - can_link_account messages should respond",
     async run() {
       let properUrl = TEST_BASE_URL + "?can_link_account";
 
       let promiseEcho = new Promise((resolve, reject) => {
-
         let webChannelOrigin = Services.io.newURI(properUrl);
         // responses sent to content are echoed back over the
         // `fxaccounts_webchannel_response_echo` channel. Ensure the
         // fxaccounts:can_link_account message is responded to.
         let echoWebChannel = new WebChannel("fxaccounts_webchannel_response_echo", webChannelOrigin);
         echoWebChannel.listen((webChannelId, message, target) => {
           Assert.equal(message.command, "fxaccounts:can_link_account");
           Assert.equal(message.messageId, 2);
--- a/browser/base/content/test/tabs/browser_multiselect_tabs_reload.js
+++ b/browser/base/content/test/tabs/browser_multiselect_tabs_reload.js
@@ -56,17 +56,16 @@ add_task(async function test_usingKeyboa
     ["VK_F5", {}],
   ];
 
   if (AppConstants.platform != "macosx") {
     keys.push(["VK_F5", { accelKey: true }]);
   }
 
   for (let key of keys) {
-
     let tab1 = await addTab();
     let tab2 = await addTab();
     let tab3 = await addTab();
 
     await BrowserTestUtils.switchTab(gBrowser, tab1);
     await triggerClickOn(tab2, { ctrlKey: true });
 
     ok(tab1.multiselected, "Tab1 is multi-selected");
--- a/browser/base/content/test/tabs/browser_open_newtab_start_observer_notification.js
+++ b/browser/base/content/test/tabs/browser_open_newtab_start_observer_notification.js
@@ -1,12 +1,11 @@
 "use strict";
 
 add_task(async function test_browser_open_newtab_start_observer_notification() {
-
   let observerFiredPromise = new Promise(resolve => {
     function observe(subject) {
       Services.obs.removeObserver(observe, "browser-open-newtab-start");
       resolve(subject.wrappedJSObject);
     }
     Services.obs.addObserver(observe, "browser-open-newtab-start");
   });
 
--- a/browser/base/content/test/webrtc/browser_devices_get_user_media_multi_process.js
+++ b/browser/base/content/test/webrtc/browser_devices_get_user_media_multi_process.js
@@ -111,17 +111,16 @@ var gTests = [
     ok(!webrtcUI.showGlobalIndicator, "webrtcUI wants the global indicator hidden");
     is(webrtcUI.getActiveStreams(true, true, true).length, 0, "0 active streams");
   },
 },
 
 {
   desc: "getUserMedia camera in a first process + camera in a second process",
   run: async function checkMultiProcessCamera() {
-
     // Request camera in the first tab.
     let promise = promisePopupNotificationShown("webRTC-shareDevices");
     await promiseRequestDevice(false, true);
     await promise;
     await expectObserverCalled("getUserMedia:request");
 
     checkDeviceSelectors(false, true);
 
@@ -213,17 +212,16 @@ var gTests = [
     ok(!webrtcUI.showGlobalIndicator, "webrtcUI wants the global indicator hidden");
     is(webrtcUI.getActiveStreams(true, true, true).length, 0, "0 active streams");
   },
 },
 
 {
   desc: "getUserMedia screen sharing in a first process + screen sharing in a second process",
   run: async function checkMultiProcessScreen() {
-
     // Request screen sharing in the first tab.
     let promise = promisePopupNotificationShown("webRTC-shareDevices");
     await promiseRequestDevice(false, true, null, "screen");
     await promise;
     await expectObserverCalled("getUserMedia:request");
 
     is(PopupNotifications.getNotification("webRTC-shareDevices").anchorID,
        "webRTC-shareScreen-notification-icon", "anchored to device icon");
--- a/browser/base/content/test/webrtc/head.js
+++ b/browser/base/content/test/webrtc/head.js
@@ -275,58 +275,52 @@ function promiseMessage(aMessage, aActio
   if (aAction)
     aAction();
 
   return promise;
 }
 
 function promisePopupNotificationShown(aName, aAction) {
   return new Promise(resolve => {
-
     // In case the global webrtc indicator has stolen focus (bug 1421724)
     window.focus();
 
     PopupNotifications.panel.addEventListener("popupshown", function() {
       ok(!!PopupNotifications.getNotification(aName), aName + " notification shown");
       ok(PopupNotifications.isPanelOpen, "notification panel open");
       ok(!!PopupNotifications.panel.firstElementChild, "notification panel populated");
 
       executeSoon(resolve);
     }, {once: true});
 
     if (aAction)
       aAction();
-
   });
 }
 
 function promisePopupNotification(aName) {
   return new Promise(resolve => {
-
     waitForCondition(() => PopupNotifications.getNotification(aName),
                      () => {
       ok(!!PopupNotifications.getNotification(aName),
          aName + " notification appeared");
 
       resolve();
     }, "timeout waiting for popup notification " + aName);
-
   });
 }
 
 function promiseNoPopupNotification(aName) {
   return new Promise(resolve => {
-
     waitForCondition(() => !PopupNotifications.getNotification(aName),
                      () => {
       ok(!PopupNotifications.getNotification(aName),
          aName + " notification removed");
       resolve();
     }, "timeout waiting for popup notification " + aName + " to disappear");
-
   });
 }
 
 const kActionAlways = 1;
 const kActionDeny = 2;
 const kActionNever = 3;
 
 function activateSecondaryAction(aAction) {
--- a/browser/base/content/urlbarBindings.xml
+++ b/browser/base/content/urlbarBindings.xml
@@ -373,17 +373,16 @@ file, You can obtain one at http://mozil
 
           // At this point, no events have been deferred for this search, and we
           // need to decide whether `event` is the first one that should be.
           if (!this._keyCodesToDefer.has(event.keyCode) &&
               !(/Mac/.test(navigator.platform) &&
                 event.ctrlKey &&
                 (event.key === "n" || event.key === "p") &&
                 this.popupOpen)) {
-
             // Not a key that should trigger deferring.
             return false;
           }
 
           let waitedLongEnough =
             this._searchStartDate + this._deferredKeyEventTimeoutMs <= Cu.now();
           if (waitedLongEnough) {
             // This is a key that we would defer, but enough time has passed
--- a/browser/base/content/utilityOverlay.js
+++ b/browser/base/content/utilityOverlay.js
@@ -931,17 +931,16 @@ function makeURLAbsolute(aBase, aUrl) {
  *        The URL to open (as a string).
  * @param aShiftKey
  *        True if shift key is held.  This value is used for the purpose of
  *        determining whether to open in the background.
  * @param aParams
  *        parameters passed to openLinkIn
  */
 function openNewTabWith(aURL, aShiftKey, aParams = {}) {
-
   // As in openNewWindowWith(), we want to pass the charset of the
   // current document over to a new tab.
   if (document.documentElement.getAttribute("windowtype") == "navigator:browser")
     aParams.charset = gBrowser.selectedBrowser.characterSet;
 
   openLinkIn(aURL, aShiftKey ? "tabshifted" : "tab", aParams);
 }
 
--- a/browser/components/customizableui/CustomizableUI.jsm
+++ b/browser/components/customizableui/CustomizableUI.jsm
@@ -1804,17 +1804,16 @@ var CustomizableUIInternal = {
     if (aEvent.type == "keypress") {
       if (aEvent.keyCode != aEvent.DOM_VK_RETURN) {
         return;
       }
       // If the user hit enter/return, we don't check preventDefault - it makes sense
       // that this was prevented, but we probably still want to close the panel.
       // If consumers don't want this to happen, they should specify the closemenu
       // attribute.
-
     } else if (aEvent.type != "command") { // mouse events:
       if (aEvent.defaultPrevented || aEvent.button != 0) {
         return;
       }
       let isInteractive = this._isOnInteractiveElement(aEvent);
       log.debug("maybeAutoHidePanel: interactive ? " + isInteractive);
       if (isInteractive) {
         return;
--- a/browser/components/customizableui/test/browser_1087303_button_preferences.js
+++ b/browser/components/customizableui/test/browser_1087303_button_preferences.js
@@ -33,17 +33,16 @@ add_task(function asyncCleanup() {
     BrowserTestUtils.addTab(gBrowser, "about:blank");
 
   gBrowser.removeTab(gBrowser.selectedTab);
   info("Tabs were restored");
 });
 
 function waitForPageLoad(aTab) {
   return new Promise((resolve, reject) => {
-
     let timeoutId = setTimeout(() => {
       aTab.linkedBrowser.removeEventListener("load", onTabLoad, true);
       reject("Page didn't load within " + 20000 + "ms");
     }, 20000);
 
     async function onTabLoad(event) {
       clearTimeout(timeoutId);
       aTab.linkedBrowser.removeEventListener("load", onTabLoad, true);
--- a/browser/components/customizableui/test/browser_newtab_button_customizemode.js
+++ b/browser/components/customizableui/test/browser_newtab_button_customizemode.js
@@ -81,17 +81,16 @@ add_task(async function addremove_after_
     "tabs should have the adjacent newtab attribute");
   assertNewTabButton("inner");
 
   CustomizableUI.reset();
   ok(gBrowser.tabContainer.hasAttribute("hasadjacentnewtabbutton"),
     "tabs should still have the adjacent newtab attribute");
   assertNewTabButton("inner");
   ok(CustomizableUI.inDefaultState, "Should be in default state");
-
 });
 
 /**
  * Add and remove items *before* the new tab button outside of customize mode.
  */
 add_task(async function addremove_before_newtab_api() {
   let index = CustomizableUI.getWidgetIdsInArea("TabsToolbar").indexOf("new-tab-button");
   CustomizableUI.addWidgetToArea("home-button", "TabsToolbar", index);
--- a/browser/components/customizableui/test/browser_synced_tabs_menu.js
+++ b/browser/components/customizableui/test/browser_synced_tabs_menu.js
@@ -104,17 +104,16 @@ async function openPrefsFromMenuPanel(ex
           e.target.location.href == "about:blank") {
         info("Skipping spurious 'load' event for " + e.target.location.href);
         return;
       }
       gBrowser.selectedBrowser.removeEventListener("load", handler, true);
       resolve();
     };
     gBrowser.selectedBrowser.addEventListener("load", handler, true);
-
   });
   newTab = gBrowser.selectedTab;
 
   is(gBrowser.currentURI.spec, "about:preferences?entrypoint=" + entryPoint + "#sync",
     "Firefox Sync preference page opened with `menupanel` entrypoint");
   ok(!isOverflowOpen(), "The panel closed");
 
   if (isOverflowOpen()) {
--- a/browser/components/customizableui/test/head.js
+++ b/browser/components/customizableui/test/head.js
@@ -201,17 +201,16 @@ function endCustomizing(aWindow = window
   }
   return new Promise(resolve => {
     function onCustomizationEnds() {
       aWindow.gNavToolbox.removeEventListener("aftercustomization", onCustomizationEnds);
       resolve();
     }
     aWindow.gNavToolbox.addEventListener("aftercustomization", onCustomizationEnds);
     aWindow.gCustomizeMode.exit();
-
   });
 }
 
 function startCustomizing(aWindow = window) {
   if (aWindow.document.documentElement.getAttribute("customizing") == "true") {
     return null;
   }
   return new Promise(resolve => {
@@ -239,17 +238,16 @@ function openAndLoadWindow(aOptions, aWa
     if (aWaitForDelayedStartup) {
       Services.obs.addObserver(function onDS(aSubject, aTopic, aData) {
         if (aSubject != win) {
           return;
         }
         Services.obs.removeObserver(onDS, "browser-delayed-startup-finished");
         resolve(win);
       }, "browser-delayed-startup-finished");
-
     } else {
       win.addEventListener("load", function() {
         resolve(win);
       }, {once: true});
     }
   });
 }
 
--- a/browser/components/downloads/test/browser/head.js
+++ b/browser/components/downloads/test/browser/head.js
@@ -36,28 +36,26 @@ function promiseFocus() {
 }
 
 function promisePanelOpened() {
   if (DownloadsPanel.panel && DownloadsPanel.panel.state == "open") {
     return Promise.resolve();
   }
 
   return new Promise(resolve => {
-
     // Hook to wait until the panel is shown.
     let originalOnPopupShown = DownloadsPanel.onPopupShown;
     DownloadsPanel.onPopupShown = function() {
       DownloadsPanel.onPopupShown = originalOnPopupShown;
       originalOnPopupShown.apply(this, arguments);
 
       // Defer to the next tick of the event loop so that we don't continue
       // processing during the DOM event handler itself.
       setTimeout(resolve, 0);
     };
-
   });
 }
 
 async function task_resetState() {
   // Remove all downloads.
   let publicList = await Downloads.getList(Downloads.PUBLIC);
   let downloads = await publicList.getAll();
   for (let download of downloads) {
--- a/browser/components/enterprisepolicies/content/aboutPolicies.js
+++ b/browser/components/enterprisepolicies/content/aboutPolicies.js
@@ -48,17 +48,16 @@ function addMissingColumns() {
 }
 
 /*
  * This function generates the Active Policies content to be displayed by calling
  * a recursive function called generatePolicy() according to the policy schema.
  */
 
 function generateActivePolicies(data) {
-
   let new_cont = document.getElementById("activeContent");
   new_cont.classList.add("active-policies");
 
   let policy_count = 0;
 
   for (let policyName in data) {
     const color_class = ++policy_count % 2 === 0 ? "even" : "odd";
 
--- a/browser/components/enterprisepolicies/tests/browser/browser_policy_disable_feedback_commands.js
+++ b/browser/components/enterprisepolicies/tests/browser/browser_policy_disable_feedback_commands.js
@@ -39,11 +39,10 @@ add_task(async function test_policy_feed
   buildHelpMenu();
 
   let feedbackPageMenu = document.getElementById("feedbackPage");
   is(feedbackPageMenu.getAttribute("disabled"), "true",
      "The `Submit Feedback...` item should be disabled");
 
   await checkItemsAreDisabled(NORMAL_PAGE);
   await checkItemsAreDisabled(PHISH_PAGE);
-
 });
 
--- a/browser/components/enterprisepolicies/tests/browser/browser_policy_disable_masterpassword.js
+++ b/browser/components/enterprisepolicies/tests/browser/browser_policy_disable_masterpassword.js
@@ -35,17 +35,16 @@ async function checkDeviceManager({butto
   await BrowserTestUtils.closeWindow(deviceManagerWindow);
 }
 
 async function checkAboutPreferences({checkboxIsDisabled}) {
   await BrowserTestUtils.withNewTab("about:preferences#privacy", async browser => {
   is(browser.contentDocument.getElementById("useMasterPassword").disabled, checkboxIsDisabled,
     "Master Password checkbox is in the correct state: " + checkboxIsDisabled);
 });
-
 }
 
 add_task(async function test_policy_disable_masterpassword() {
   ok(!mpToken.hasPassword, "Starting the test with no password");
 
   // No password and no policy: access to setting a master password
   // should be enabled.
   await checkDeviceManager({buttonIsDisabled: false});
--- a/browser/components/enterprisepolicies/tests/browser/browser_policy_disable_pocket.js
+++ b/browser/components/enterprisepolicies/tests/browser/browser_policy_disable_pocket.js
@@ -8,17 +8,16 @@ const PREF_POCKET = "extensions.pocket.e
 async function checkPocket(shouldBeEnabled) {
   return BrowserTestUtils.waitForCondition(() => {
     return !!PageActions.actionForID("pocket") == shouldBeEnabled;
   }, "Expecting Pocket to be " + shouldBeEnabled);
 }
 
 add_task(async function test_disable_firefox_screenshots() {
   await BrowserTestUtils.withNewTab("data:text/html,Test", async function() {
-
     // Sanity check to make sure Pocket is enabled on tests
     await checkPocket(true);
 
     await setupPolicyEngineWithJson({
       "policies": {
         "DisablePocket": true,
       },
     });
--- a/browser/components/migration/.eslintrc.js
+++ b/browser/components/migration/.eslintrc.js
@@ -9,15 +9,14 @@ module.exports = {
     "new-parens": "error",
     "no-extend-native": "error",
     "no-fallthrough": ["error", { "commentPattern": ".*[Ii]ntentional(?:ly)?\\s+fall(?:ing)?[\\s-]*through.*" }],
     "no-multi-str": "error",
     "no-return-assign": "error",
     "no-shadow": "error",
     "no-throw-literal": "error",
     "no-unused-vars": ["error", { "args": "after-used", "vars": "all" }],
-    "padded-blocks": ["error", "never"],
     "semi-spacing": ["error", {"before": false, "after": true}],
     "space-in-parens": ["error", "never"],
     "strict": ["error", "global"],
     "yoda": "error"
   }
 };
--- a/browser/components/newtab/.eslintrc.js
+++ b/browser/components/newtab/.eslintrc.js
@@ -198,17 +198,16 @@ module.exports = {
     "nonblock-statement-body-position": 2,
     "object-curly-newline": [2, {"multiline": true, "consistent": true}],
     "object-curly-spacing": [2, "never"],
     "object-property-newline": [2, {"allowMultiplePropertiesPerLine": true}],
     "one-var": [2, "never"],
     "one-var-declaration-per-line": [2, "initializations"],
     "operator-assignment": [2, "always"],
     "operator-linebreak": [2, "after"],
-    "padded-blocks": [2, "never"],
     "padding-line-between-statements": 0,
     "prefer-arrow-callback": ["error", {"allowNamedFunctions": true}],
     "prefer-const": 0, // TODO: Change to `1`?
     "prefer-destructuring": [2, {"AssignmentExpression": {"array": true}, "VariableDeclarator": {"array": true, "object": true}}],
     "prefer-numeric-literals": 2,
     "prefer-promise-reject-errors": 2,
     "prefer-reflect": 0,
     "prefer-rest-params": 2,
--- a/browser/components/nsBrowserContentHandler.js
+++ b/browser/components/nsBrowserContentHandler.js
@@ -349,17 +349,16 @@ nsBrowserContentHandler.prototype = {
         cmdLine.preventDefault = true;
       }
     } catch (e) {
       Cu.reportError(e);
     }
 
     var chromeParam = cmdLine.handleFlagWithParam("chrome", false);
     if (chromeParam) {
-
       // Handle old preference dialog URLs.
       if (chromeParam == "chrome://browser/content/pref/pref.xul" ||
           chromeParam == "chrome://browser/content/preferences/preferences.xul") {
         openPreferences(cmdLine, {origin: "commandLineLegacy"});
         cmdLine.preventDefault = true;
       } else try {
         let resolvedURI = resolveURIInternal(cmdLine, chromeParam);
         let isLocal = uri => {
@@ -765,17 +764,16 @@ nsDefaultCommandLineHandler.prototype = 
         } catch (e) {
         }
       }
 
       var URLlist = urilist.filter(shouldLoadURI).map(u => u.spec);
       if (URLlist.length) {
         openBrowserWindow(cmdLine, gSystemPrincipal, URLlist);
       }
-
     } else if (!cmdLine.preventDefault) {
       if (AppConstants.isPlatformAndVersionAtLeast("win", "10") &&
           cmdLine.state != Ci.nsICommandLine.STATE_INITIAL_LAUNCH &&
           WindowsUIUtils.inTabletMode) {
         // In windows 10 tablet mode, do not create a new window, but reuse the existing one.
         let win = BrowserWindowTracker.getTopWindow();
         if (win) {
           win.focus();
--- a/browser/components/nsBrowserGlue.js
+++ b/browser/components/nsBrowserGlue.js
@@ -1084,17 +1084,16 @@ BrowserGlue.prototype = {
     SaveToPocket.init();
     Services.obs.notifyObservers(null, "browser-ui-startup-complete");
   },
 
   _checkForOldBuildUpdates() {
     // check for update if our build is old
     if (AppConstants.MOZ_UPDATER &&
         Services.prefs.getBoolPref("app.update.checkInstallTime")) {
-
       let buildID = Services.appinfo.appBuildID;
       let today = new Date().getTime();
       /* eslint-disable no-multi-spaces */
       let buildDate = new Date(buildID.slice(0, 4),     // year
                                buildID.slice(4, 6) - 1, // months are zero-based.
                                buildID.slice(6, 8),     // day
                                buildID.slice(8, 10),    // hour
                                buildID.slice(10, 12),   // min
@@ -2039,17 +2038,16 @@ BrowserGlue.prototype = {
           }
           try {
             // Now apply distribution customized bookmarks.
             // This should always run after Places initialization.
             await this._distributionCustomizer.applyBookmarks();
           } catch (e) {
             Cu.reportError(e);
           }
-
         } else {
           Cu.reportError(new Error("Unable to find bookmarks.html file."));
         }
 
         // Reset preferences, so we won't try to import again at next run
         if (importBookmarksHTML)
           Services.prefs.setBoolPref("browser.places.importBookmarksHTML", false);
         if (restoreDefaultBookmarks)
@@ -2086,17 +2084,16 @@ BrowserGlue.prototype = {
             }
 
             if (backupAge > BOOKMARKS_BACKUP_MAX_INTERVAL_DAYS)
               this._bookmarksBackupIdleTime /= 2;
           }
         }
         this._idleService.addIdleObserver(this, this._bookmarksBackupIdleTime);
       }
-
     })().catch(ex => {
       Cu.reportError(ex);
     }).then(() => {
       // NB: deliberately after the catch so that we always do this, even if
       // we threw halfway through initializing in the Task above.
       this._placesBrowserInitComplete = true;
       Services.obs.notifyObservers(null, "places-browser-init-complete");
     });
@@ -3165,17 +3162,16 @@ ContentPermissionPrompt.prototype = {
         combinedIntegration.createPermissionPrompt(type, request);
       if (!permissionPrompt) {
         throw Components.Exception(
           `Failed to handle permission of type ${type}`,
           Cr.NS_ERROR_FAILURE);
       }
 
       permissionPrompt.prompt();
-
     } catch (ex) {
       Cu.reportError(ex);
       request.cancel();
       throw ex;
     }
 
     let schemeHistogram = Services.telemetry.getKeyedHistogramById("PERMISSION_REQUEST_ORIGIN_SCHEME");
     let scheme = 0;
--- a/browser/components/originattributes/test/browser/browser_broadcastChannel.js
+++ b/browser/components/originattributes/test/browser/browser_broadcastChannel.js
@@ -3,17 +3,16 @@
  */
 
 const TEST_DOMAIN = "http://example.net/";
 const TEST_PATH = TEST_DOMAIN + "browser/browser/components/originattributes/test/browser/";
 const TEST_PAGE = TEST_PATH + "file_broadcastChannel.html";
 
 async function doTest(aBrowser) {
   let response = await ContentTask.spawn(aBrowser, null, async function() {
-
     let displayItem = content.document.getElementById("display");
 
     // If there is nothing in the 'display', we will try to send a message to
     // the broadcast channel and wait until this message has been delivered.
     // The way that how we make sure the message is delivered is based on an
     // iframe which will reply everything it receives from the broadcast channel
     // to the current window through the postMessage. So, we can know that the
     // boradcast message is sent successfully when the window receives a message
--- a/browser/components/originattributes/test/browser/browser_cache.js
+++ b/browser/components/originattributes/test/browser/browser_cache.js
@@ -126,17 +126,16 @@ async function doInit(aMode) {
   randomSuffix = Math.random();
   stopObservingChannels = startObservingChannels(aMode);
 }
 
 // In the test function, we dynamically generate the video and audio element,
 // and assign a random suffix to their URL to isolate them across different
 // test runs.
 async function doTest(aBrowser) {
-
   let argObj = {
     randomSuffix,
     urlPrefix: TEST_DOMAIN + TEST_PATH,
   };
 
   await ContentTask.spawn(aBrowser, argObj, async function(arg) {
     let videoURL = arg.urlPrefix + "file_thirdPartyChild.video.ogv";
     let audioURL = arg.urlPrefix + "file_thirdPartyChild.audio.ogg";
--- a/browser/components/originattributes/test/browser/browser_favicon_firstParty.js
+++ b/browser/components/originattributes/test/browser/browser_favicon_firstParty.js
@@ -110,17 +110,16 @@ function observeFavicon(aFirstPartyDomai
 }
 
 function waitOnFaviconResponse(aFaviconURL) {
   return new Promise(resolve => {
     let observer = {
       observe(aSubject, aTopic, aData) {
         if (aTopic === "http-on-examine-response" ||
             aTopic === "http-on-examine-cached-response") {
-
           let httpChannel = aSubject.QueryInterface(Ci.nsIHttpChannel);
           let loadInfo = httpChannel.loadInfo;
 
           if (httpChannel.URI.spec !== aFaviconURL) {
             return;
           }
 
           let result = {
@@ -139,17 +138,16 @@ function waitOnFaviconResponse(aFaviconU
     Services.obs.addObserver(observer, "http-on-examine-cached-response");
   });
 }
 
 function waitOnFaviconLoaded(aFaviconURL) {
   return new Promise(resolve => {
     let observer = {
       onPageChanged(uri, attr, value, id) {
-
         if (attr === Ci.nsINavHistoryObserver.ATTRIBUTE_FAVICON &&
             value === aFaviconURL) {
           resolve();
           PlacesUtils.history.removeObserver(observer, false);
         }
       },
     };
 
--- a/browser/components/originattributes/test/browser/head.js
+++ b/browser/components/originattributes/test/browser/head.js
@@ -70,17 +70,16 @@ async function openTabInUserContext(aURL
  *    and the second item indicates the second layer, and so on. The aURL will
  *    be loaded at the deepest layer. This is optional.
  *
  * @return tab     - The tab object of this tab.
  *         browser - The browser object of this tab.
  */
 async function openTabInFirstParty(aURL, aFirstPartyDomain,
                               aFrameSetting = DEFAULT_FRAME_SETTING) {
-
   // If the first party domain ends with '/', we remove it.
   if (aFirstPartyDomain.endsWith("/")) {
     aFirstPartyDomain = aFirstPartyDomain.slice(0, -1);
   }
 
   let basicPageURL = aFirstPartyDomain + gFirstPartyBasicPage;
 
   // Open the tab for the basic first party page.
@@ -247,17 +246,16 @@ this.IsolationTestTools = {
    */
   _addTab(aMode, aURL, aTabSettingObj, aFrameSetting) {
     if (aMode === TEST_MODE_CONTAINERS) {
       return openTabInUserContext(aURL, aTabSettingObj.userContextId);
     }
 
     return openTabInFirstParty(aURL, aTabSettingObj.firstPartyDomain,
                                 aFrameSetting);
-
   },
 
   /**
    * Run isolation tests. The framework will run tests with standard combinations
    * of prefs and tab settings, and checks whether the isolation is working.
    *
    * @param aURL
    *    The URL of the page that will be tested or an object contains 'url',
--- a/browser/components/payments/.eslintrc.js
+++ b/browser/components/payments/.eslintrc.js
@@ -55,17 +55,16 @@ module.exports = {
     "no-unused-expressions": "error",
     "no-unused-vars": ["error", {
       args: "none",
       vars: "all"
     }],
     "no-use-before-define": ["error", {
       functions: false,
     }],
-    "padded-blocks": ["error", "never"],
     radix: "error",
     "semi-spacing": ["error", {"before": false, "after": true}],
     "space-in-parens": ["error", "never"],
     "valid-jsdoc": ["error", {
       prefer: {
         return: "returns",
       },
       preferType: {
--- a/browser/components/places/tests/browser/browser_bookmarklet_windowOpen.js
+++ b/browser/components/places/tests/browser/browser_bookmarklet_windowOpen.js
@@ -8,17 +8,16 @@ const DUMMY_URL = BASE_URL + "bookmarkle
 function makeBookmarkFor(url, keyword) {
   return Promise.all([
     PlacesUtils.bookmarks.insert({ parentGuid: PlacesUtils.bookmarks.unfiledGuid,
                                    title: "bookmarklet",
                                    url }),
     PlacesUtils.keywords.insert({url,
                                  keyword}),
   ]);
-
 }
 
 add_task(async function openKeywordBookmarkWithWindowOpen() {
   // This is the current default, but let's not assume that...
   await SpecialPowers.pushPrefEnv({"set": [
     [ "browser.link.open_newwindow", 3 ],
     [ "dom.disable_open_during_load", true ],
   ]});
--- a/browser/components/places/tests/browser/browser_bug427633_no_newfolder_if_noip.js
+++ b/browser/components/places/tests/browser/browser_bug427633_no_newfolder_if_noip.js
@@ -35,10 +35,9 @@ add_task(async function() {
 
   window.gEditItemOverlay.toggleFolderTreeVisibility();
 
   let tree = gEditItemOverlay._element("folderTree");
 
   tree.view.selection.clearSelection();
   ok(document.getElementById("editBMPanel_newFolderButton").disabled,
      "New folder button is disabled if there's no selection");
-
 });
--- a/browser/components/places/tests/browser/browser_library_views_liveupdate.js
+++ b/browser/components/places/tests/browser/browser_library_views_liveupdate.js
@@ -167,17 +167,16 @@ async function removeAndCheckItem(itemDa
  *
  * @param aItemGuid
  *        item guid of the item to search.
  * @param aTree
  *        Tree to search in.
  * @returns [node, index, cellText] or [null, null, ""] if not found.
  */
 function getNodeForTreeItem(aItemGuid, aTree) {
-
   function findNode(aContainerIndex) {
     if (aTree.view.isContainerEmpty(aContainerIndex))
       return [null, null, ""];
 
     // The rowCount limit is just for sanity, but we will end looping when
     // we have checked the last child of this container or we have found node.
     for (let i = aContainerIndex + 1; i < aTree.view.rowCount; i++) {
       let node = aTree.view.nodeForTreeIndex(i);
--- a/browser/components/places/tests/browser/browser_sidebarpanels_click.js
+++ b/browser/components/places/tests/browser/browser_sidebarpanels_click.js
@@ -32,17 +32,16 @@ add_task(async function test_sidebarpane
     _bookmark: null,
     async init() {
       // Add a bookmark to the Unfiled Bookmarks folder.
       this._bookmark = await PlacesUtils.bookmarks.insert({
         parentGuid: PlacesUtils.bookmarks.unfiledGuid,
         title: "test",
         url: TEST_URL,
       });
-
     },
     prepare() {
     },
     async selectNode(tree) {
       tree.selectItems([this._bookmark.guid]);
     },
     cleanup(aCallback) {
       return PlacesUtils.bookmarks.remove(this._bookmark);
--- a/browser/components/pocket/content/main.js
+++ b/browser/components/pocket/content/main.js
@@ -47,17 +47,16 @@
 ChromeUtils.defineModuleGetter(this, "PrivateBrowsingUtils",
   "resource://gre/modules/PrivateBrowsingUtils.jsm");
 ChromeUtils.defineModuleGetter(this, "ReaderMode",
   "resource://gre/modules/ReaderMode.jsm");
 ChromeUtils.defineModuleGetter(this, "pktApi",
   "chrome://pocket/content/pktApi.jsm");
 
 var pktUI = (function() {
-
     // -- Initialization (on startup and new windows) -- //
 
     // Init panel id at 0. The first actual panel id will have the number 1 so
     // in case at some point any panel has the id 0 we know there is something
     // wrong
     var _panelId = 0;
 
     var overflowMenuWidth = 230;
@@ -146,17 +145,16 @@ var pktUI = (function() {
             });
         });
     }
 
     /**
      * Show the logged-out state / sign-up panel
      */
     function saveAndShowConfirmation(url, title) {
-
         // Validate input parameter
         if (typeof url !== "undefined" && url.startsWith("about:reader?url=")) {
             url = ReaderMode.getOriginalUrl(url);
         }
 
         var isValidURL = (typeof url !== "undefined" && (url.startsWith("http") || url.startsWith("https")));
 
         var inOverflowMenu = isInOverflowMenu();
@@ -465,17 +463,16 @@ var pktUI = (function() {
                 if (str.key in data) {
                     strings[str.key] = bundle.formatStringFromName(str.key, data[str.key], data[str.key].length);
                 } else {
                     strings[str.key] = str.value;
                 }
             }
             pktUIMessaging.sendResponseMessageToPanel(panelId, _initL10NMessageId, { strings });
         });
-
     }
 
     // -- Browser Navigation -- //
 
     /**
      * Open a new tab with a given url and notify the iframe panel that it was opened
      */
 
@@ -570,17 +567,16 @@ var pktUI = (function() {
         tryToSaveUrl,
         tryToSaveCurrentPage,
     };
 }());
 
 // -- Communication to Background -- //
 // https://developer.mozilla.org/en-US/Add-ons/Code_snippets/Interaction_between_privileged_and_non-privileged_pages
 var pktUIMessaging = (function() {
-
     /**
      * Prefix message id for message listening
      */
     function prefixedMessageId(messageId) {
         return "PKT_" + messageId;
     }
 
     /**
@@ -597,25 +593,23 @@ var pktUIMessaging = (function() {
             // Pass in information to callback
             var payload = JSON.parse(e.target.getAttribute("payload"))[0];
             var panelId = payload.panelId;
             var data = payload.data;
             callback(panelId, data, nodePrincipal);
 
             // Cleanup the element
             e.target.remove();
-
         }, false, true);
     }
 
     /**
      * Send a message to the panel's iframe
      */
     function sendMessageToPanel(panelId, messageId, payload) {
-
         if (!isPanelIdValid(panelId)) { return; }
 
         var panelFrame = pktUI.getPanelFrame();
         if (!isPocketPanelFrameValid(panelFrame)) { return; }
 
         var doc = panelFrame.contentWindow.document;
         var documentElement = doc.documentElement;
 
--- a/browser/components/pocket/content/panels/js/messages.js
+++ b/browser/components/pocket/content/panels/js/messages.js
@@ -1,13 +1,12 @@
 // Documentation of methods used here are at:
 // https://developer.mozilla.org/en-US/Add-ons/Code_snippets/Interaction_between_privileged_and_non-privileged_pages
 
 var pktPanelMessaging = (function() {
-
  function panelIdFromURL(url) {
    var panelId = url.match(/panelId=([\w|\d|\.]*)&?/);
         if (panelId && panelId.length > 1) {
             return panelId[1];
         }
 
         return 0;
  }
@@ -17,24 +16,21 @@ var pktPanelMessaging = (function() {
  }
 
  function panelPrefixedMessageId(panelId, messageId) {
    return prefixedMessageId(panelId + "_" + messageId);
  }
 
  function addMessageListener(panelId, messageId, callback) {
    document.addEventListener(panelPrefixedMessageId(panelId, messageId), function(e) {
-
     callback(JSON.parse(e.target.getAttribute("payload"))[0]);
 
     // TODO: Figure out why e.target.parentNode is null
     // e.target.parentNode.removeChild(e.target);
-
     });
-
   }
 
   function removeMessageListener(panelId, messageId, callback) {
    document.removeEventListener(panelPrefixedMessageId(panelId, messageId), callback);
   }
 
  function sendMessage(panelId, messageId, payload, callback) {
    // Payload needs to be an object in format:
--- a/browser/components/pocket/content/panels/js/saved.js
+++ b/browser/components/pocket/content/panels/js/saved.js
@@ -547,17 +547,16 @@ PKT_SAVED.prototype = {
                 } else {
                     myself.overlay.showStateError(myself.overlay.dictJSON.pagenotsaved, myself.overlay.dictJSON.errorgeneric);
                 }
                 return;
             }
 
             myself.overlay.showStateSaved(resp);
         });
-
     },
 };
 
 $(function() {
     if (!window.thePKT_SAVED) {
         var thePKT_SAVED = new PKT_SAVED();
         /* global thePKT_SAVED */
         window.thePKT_SAVED = thePKT_SAVED;
--- a/browser/components/pocket/content/panels/js/sendtomobile.js
+++ b/browser/components/pocket/content/panels/js/sendtomobile.js
@@ -1,12 +1,11 @@
 /* global $:false, Handlebars:false, thePKT_SAVED:false, */
 
 var PKT_SENDTOMOBILE = (function() {
-
     var width = 350;
     var ctaHeight = 200;
     var confirmHeight = 275;
     var premDetailsHeight = 110;
     var email = null;
 
     function _initPanelOneClicks() {
         $("#pkt_ext_sendtomobile_button").click(function() {
--- a/browser/components/pocket/content/panels/js/signup.js
+++ b/browser/components/pocket/content/panels/js/signup.js
@@ -51,17 +51,16 @@ var PKT_SIGNUP_OVERLAY = function(option
         }
         return String(s).replace(/[&<>"']/g, function(str) {
             return sanitizeMap[str];
         });
     };
     this.getTranslations = function() {
         this.dictJSON = window.pocketStrings;
     };
-
 };
 
 PKT_SIGNUP_OVERLAY.prototype = {
     create() {
         var controlvariant = window.location.href.match(/controlvariant=([\w|\.]*)&?/);
         if (controlvariant && controlvariant.length > 1) {
             this.controlvariant = controlvariant[1];
         }
--- a/browser/components/pocket/content/pktApi.jsm
+++ b/browser/components/pocket/content/pktApi.jsm
@@ -46,17 +46,16 @@ var EXPORTED_SYMBOLS = ["pktApi"];
 
 const {XPCOMUtils} = ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
 const {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
 
 XPCOMUtils.defineLazyGlobalGetters(this, ["XMLHttpRequest"]);
 XPCOMUtils.defineLazyPreferenceGetter(this, "gCookieFirstPartyIsolate", "privacy.firstparty.isolate", false);
 
 var pktApi = (function() {
-
     /**
      * Configuration
      */
 
     // Base url for all api calls
     var pocketAPIhost = Services.prefs.getCharPref("extensions.pocket.api"); // api.getpocket.com
     var pocketSiteHost = Services.prefs.getCharPref("extensions.pocket.site"); // getpocket.com
     var baseAPIUrl = "https://" + pocketAPIhost + "/v3";
@@ -321,17 +320,16 @@ var pktApi = (function() {
     /**
      * Add a new link to Pocket
      * @param {string} url     URL of the link
      * @param {Object | undefined} options Can provide a string-based title, a
      *                                     `success` callback and an `error` callback.
      * @return {Boolean} Returns Boolean whether the api call started sucessfully
      */
     function addLink(url, options) {
-
         var since = getSetting("latestSince");
         var accessToken = getAccessToken();
 
         var sendData = {
             access_token: accessToken,
             url,
             since: since ? since : 0,
         };
@@ -538,17 +536,16 @@ var pktApi = (function() {
         };
         action = extend(action, actionPart);
 
         // Backup the success callback as we need it later
         var finalSuccessCallback = options.success;
 
         // Switch the success callback
         options.success = function(data) {
-
             // Update used tags
             var usedTagsJSON = getSetting("usedTags");
             var usedTags = usedTagsJSON ? JSON.parse(usedTagsJSON) : {};
 
             // Check for each tag if it's already in the used tags
             for (var i = 0; i < tags.length; i++) {
                 var tagToSave = tags[i].trim();
                 var newUsedTagObject = {
@@ -570,17 +567,16 @@ var pktApi = (function() {
     }
 
     /**
      * Get all cached tags and used tags within the callback
      * @param {function(Array, Array, Boolean)} callback
      *                           Function with tags and used tags as parameter.
      */
     function getTags(callback) {
-
         var tagsFromSettings = function() {
             var tagsJSON = getSetting("tags");
             if (typeof tagsJSON !== "undefined") {
                 return JSON.parse(tagsJSON);
             }
             return [];
         };
 
@@ -646,17 +642,16 @@ var pktApi = (function() {
         return getSuggestedTags({url}, options);
     }
 
     /**
      * Helper function to get suggested tags
      * @return {Boolean} Returns Boolean whether the api call started sucessfully
      */
     function getSuggestedTags(data, options) {
-
         data = data || {};
         options = options || {};
 
         data.access_token = getAccessToken();
 
         return apiRequest({
             path: "/getSuggestedTags",
             data,
@@ -702,17 +697,16 @@ var pktApi = (function() {
             });
 
             // Get a random test variant and set the user to it
             assignedValue = valArray[Math.floor(Math.random() * valArray.length)];
             setSetting(settingName, assignedValue);
         }
 
         return assignedValue;
-
     }
 
     /**
      * Public functions
      */
     return {
         isUserLoggedIn,
         clearUserData,
--- a/browser/components/preferences/in-content/main.js
+++ b/browser/components/preferences/in-content/main.js
@@ -2104,17 +2104,16 @@ var gMainPane = {
       this.rebuildActionsMenu();
 
       // update the richlistitem too. Will be visible when selecting another row
       this.selectedHandlerListItem.refreshAction();
     };
 
     gSubDialog.open("chrome://browser/content/preferences/applicationManager.xul",
       "resizable=no", handlerInfo, onComplete);
-
   },
 
   chooseApp(aEvent) {
     // Don't let the normal "on select action" handler get this event,
     // as we handle it specially ourselves.
     aEvent.stopPropagation();
 
     var handlerApp;
--- a/browser/components/preferences/in-content/tests/browser_security-2.js
+++ b/browser/components/preferences/in-content/tests/browser_security-2.js
@@ -48,17 +48,16 @@ add_task(async function() {
     EventUtils.synthesizeMouseAtCenter(checkbox, {}, gBrowser.selectedBrowser.contentWindow);
 
     // check that setting is now turned on or off
     is(Services.prefs.getBoolPref("browser.safebrowsing.downloads.enabled"), !checked,
        "safebrowsing.downloads preference is set correctly");
 
     // check if the uncommon warning checkbox has updated
     is(blockUncommon.hasAttribute("disabled"), val, "block uncommon checkbox is set correctly");
-
   }
 
   await checkPrefSwitch(true);
   await checkPrefSwitch(false);
 });
 
 requestLongerTimeout(2);
 // test the unwanted/uncommon software warning preference
@@ -101,21 +100,19 @@ add_task(async function() {
       is(malwareTable.includes("goog-unwanted-proto"), !checked,
          "malware table doesn't include goog-unwanted-proto");
     }
     is(malwareTable.includes("test-unwanted-simple"), !checked,
        "malware table doesn't include test-unwanted-simple");
     let sortedMalware = malwareTable.slice(0);
     sortedMalware.sort();
     Assert.deepEqual(malwareTable, sortedMalware, "malware table has been sorted");
-
   }
 
   await checkPrefSwitch(true, true, false);
   await checkPrefSwitch(false, true, false);
   await checkPrefSwitch(true, false, false);
   await checkPrefSwitch(false, false, false);
   await checkPrefSwitch(true, true, true);
   await checkPrefSwitch(false, true, true);
   await checkPrefSwitch(true, false, true);
   await checkPrefSwitch(false, false, true);
-
 });
--- a/browser/components/preferences/in-content/tests/browser_subdialogs.js
+++ b/browser/components/preferences/in-content/tests/browser_subdialogs.js
@@ -188,17 +188,16 @@ add_task(async function check_opening_wh
   await open_subdialog_and_test_generic_start_state(tab.linkedBrowser);
   info("closing");
   content.window.gSubDialog._topDialog.close();
   info("reopening immediately after calling .close()");
   await open_subdialog_and_test_generic_start_state(tab.linkedBrowser);
   await close_subdialog_and_test_generic_end_state(tab.linkedBrowser,
     function() { content.window.gSubDialog._topDialog._frame.contentDocument.documentElement.acceptDialog(); },
     "accept", 1);
-
 });
 
 add_task(async function window_close_on_dialog() {
   await open_subdialog_and_test_generic_start_state(tab.linkedBrowser);
 
   info("canceling the dialog");
   await close_subdialog_and_test_generic_end_state(tab.linkedBrowser,
     function() { content.window.gSubDialog._topDialog._frame.contentWindow.window.close(); },
--- a/browser/components/preferences/in-content/tests/head.js
+++ b/browser/components/preferences/in-content/tests/head.js
@@ -119,17 +119,16 @@ function openPreferencesViaOpenPreferenc
         let win = gBrowser.contentWindow;
         let selectedPane = win.history.state;
         await finalPrefPaneLoaded;
         if (!aOptions || !aOptions.leaveOpen)
           gBrowser.removeCurrentTab();
         resolve({ selectedPane });
       }, { once: true });
     }, { capture: true, once: true });
-
   });
 }
 
 async function evaluateSearchResults(keyword, searchReults) {
   searchReults = Array.isArray(searchReults) ? searchReults : [searchReults];
   searchReults.push("header-searchResults");
 
   let searchInput = gBrowser.contentDocument.getElementById("searchInput");
--- a/browser/components/preferences/in-content/tests/siteData/head.js
+++ b/browser/components/preferences/in-content/tests/siteData/head.js
@@ -79,17 +79,16 @@ function openPreferencesViaOpenPreferenc
         let win = gBrowser.contentWindow;
         let selectedPane = win.history.state;
         await finalPrefPaneLoaded;
         if (!aOptions || !aOptions.leaveOpen)
           gBrowser.removeCurrentTab();
         resolve({ selectedPane });
       }, { once: true });
     }, { capture: true, once: true });
-
   });
 }
 
 function openSiteDataSettingsDialog() {
   let doc = gBrowser.selectedBrowser.contentDocument;
   let settingsBtn = doc.getElementById("siteDataSettings");
   let dialogOverlay = content.gSubDialog._preloadDialog._overlay;
   let dialogLoadPromise = promiseLoadSubDialog("chrome://browser/content/preferences/siteDataSettings.xul");
--- a/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cache.js
+++ b/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cache.js
@@ -6,17 +6,16 @@
 // This test covers MozTrap test 6047
 // bug 880621
 
 var tmp = {};
 
 const {Sanitizer} = ChromeUtils.import("resource:///modules/Sanitizer.jsm");
 
 function test() {
-
   waitForExplicitFinish();
 
   Sanitizer.sanitize(["cache"], {ignoreTimespan: false});
 
   getStorageEntryCount("regular", function(nrEntriesR1) {
     is(nrEntriesR1, 0, "Disk cache reports 0KB and has no entries");
 
     get_cache_for_private_window();
@@ -51,28 +50,25 @@ function getStorageEntryCount(device, go
     },
   };
 
   storage.asyncVisitStorage(visitor, true);
 }
 
 function get_cache_for_private_window() {
   let win = whenNewWindowLoaded({private: true}, function() {
-
     executeSoon(function() {
-
       ok(true, "The private window got loaded");
 
       let tab = BrowserTestUtils.addTab(win.gBrowser, "http://example.org");
       win.gBrowser.selectedTab = tab;
       let newTabBrowser = win.gBrowser.getBrowserForTab(tab);
 
       BrowserTestUtils.browserLoaded(newTabBrowser).then(function() {
         executeSoon(function() {
-
           getStorageEntryCount("private", function(nrEntriesP) {
             ok(nrEntriesP >= 1, "Memory cache reports some entries from example.org domain");
 
             getStorageEntryCount("regular", function(nrEntriesR2) {
               is(nrEntriesR2, 0, "Disk cache reports 0KB and has no entries");
 
               win.close();
               finish();
--- a/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_favicon.js
+++ b/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_favicon.js
@@ -101,17 +101,16 @@ function observeFavicon(aIsPrivate, aExp
 }
 
 function waitOnFaviconResponse(aFaviconURL) {
   return new Promise(resolve => {
     let observer = {
       observe(aSubject, aTopic, aData) {
         if (aTopic === "http-on-examine-response" ||
             aTopic === "http-on-examine-cached-response") {
-
           let httpChannel = aSubject.QueryInterface(Ci.nsIHttpChannel);
           let loadInfo = httpChannel.loadInfo;
 
           if (httpChannel.URI.spec !== aFaviconURL) {
             return;
           }
 
           let result = {
@@ -130,17 +129,16 @@ function waitOnFaviconResponse(aFaviconU
     Services.obs.addObserver(observer, "http-on-examine-cached-response");
   });
 }
 
 function waitOnFaviconLoaded(aFaviconURL) {
   return new Promise(resolve => {
     let observer = {
       onPageChanged(uri, attr, value, id) {
-
         if (attr === Ci.nsINavHistoryObserver.ATTRIBUTE_FAVICON &&
             value === aFaviconURL) {
           resolve();
           PlacesUtils.history.removeObserver(observer, false);
         }
       },
     };
 
--- a/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_popupblocker.js
+++ b/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_popupblocker.js
@@ -9,17 +9,16 @@ add_task(async function test() {
   let oldPopupPolicy = Services.prefs.getBoolPref("dom.disable_open_during_load");
   Services.prefs.setBoolPref("dom.disable_open_during_load", true);
 
   registerCleanupFunction(() => {
     Services.prefs.setBoolPref("dom.disable_open_during_load", oldPopupPolicy);
   });
 
   function testPopupBlockerMenuItem(aExpectedDisabled, aWindow, aCallback) {
-
     aWindow.gBrowser.addEventListener("DOMUpdateBlockedPopups", function() {
       executeSoon(function() {
         let notification = aWindow.gBrowser.getNotificationBox().getNotificationWithValue("popup-blocked");
         ok(notification, "The notification box should be displayed");
 
         function checkMenuItem(callback) {
           dump("CMI: in\n");
           aWindow.document.addEventListener("popupshown", function listener(event) {
@@ -38,17 +37,16 @@ add_task(async function test() {
           dump("CMI: out\n");
         }
 
         checkMenuItem(function() {
           aCallback();
         });
         notification.querySelector("button").doCommand();
       });
-
     }, {once: true});
 
     BrowserTestUtils.loadURI(aWindow.gBrowser.selectedBrowser, testURI);
   }
 
   let win1 = await BrowserTestUtils.openNewBrowserWindow();
   await new Promise(resolve => waitForFocus(resolve, win1));
   await new Promise(resolve => testPopupBlockerMenuItem(false, win1, resolve));
--- a/browser/components/resistfingerprinting/test/browser/browser_netInfo.js
+++ b/browser/components/resistfingerprinting/test/browser/browser_netInfo.js
@@ -22,17 +22,16 @@ async function testWindow() {
 }
 
 async function testWorker() {
   // Open a tab to test network information in a worker.
   let tab = await BrowserTestUtils.openNewForegroundTab(
     gBrowser, TEST_PATH + "file_dummy.html");
 
   await ContentTask.spawn(tab.linkedBrowser, null, async function() {
-
     await new Promise(resolve => {
       let worker = new content.Worker("file_workerNetInfo.js");
 
       worker.onmessage = function(e) {
         if (e.data.type == "status") {
           ok(e.data.status, e.data.msg);
         } else if (e.data.type == "finish") {
           resolve();
--- a/browser/components/resistfingerprinting/test/browser/browser_performanceAPI.js
+++ b/browser/components/resistfingerprinting/test/browser/browser_performanceAPI.js
@@ -110,17 +110,16 @@ add_task(async function runRPTests() {
     content.performance.mark("Test");
     content.performance.mark("Test-End");
     content.performance.measure("Test-Measure", "Test", "Test-End");
 
     // Check that no entries for performance.getEntries/getEntriesByType/getEntriesByName.
     is(content.performance.getEntries().length, 0, "For resistFingerprinting, there should be no entries for performance.getEntries()");
     is(content.performance.getEntriesByType("resource").length, 0, "For resistFingerprinting, there should be no entries for performance.getEntriesByType()");
     is(content.performance.getEntriesByName("Test", "mark").length, 0, "For resistFingerprinting, there should be no entries for performance.getEntriesByName()");
-
   };
 
   await setupTest(tab, true, true, 100, runTests);
   await setupTest(tab, true, false, 13, runTests);
   await setupTest(tab, true, false, .13, runTests);
 
   BrowserTestUtils.removeTab(tab);
 });
--- a/browser/components/resistfingerprinting/test/browser/browser_timezone.js
+++ b/browser/components/resistfingerprinting/test/browser/browser_timezone.js
@@ -26,14 +26,13 @@ add_task(async function test_timezone() 
            "The date string is in UTC timezone.");
       is(dateObj.getFullYear(), dateObj.getUTCFullYear(),
            "The full year reports in UTC timezone.");
       is(dateObj.getMonth(), dateObj.getUTCMonth(), "The month reports in UTC timezone.");
       is(dateObj.getDate(), dateObj.getUTCDate(), "The month reports in UTC timezone.");
       is(dateObj.getDay(), dateObj.getUTCDay(), "The day reports in UTC timezone.");
       is(dateObj.getHours(), dateObj.getUTCHours(), "The hours reports in UTC timezone.");
       is(dateObj.getTimezoneOffset(), 0, "The difference with UTC timezone is 0.");
-
     }
   );
 
   BrowserTestUtils.removeTab(tab);
 });
--- a/browser/components/resistfingerprinting/test/browser/head.js
+++ b/browser/components/resistfingerprinting/test/browser/head.js
@@ -172,17 +172,16 @@ async function testWindowSizeSetting(aBr
     settingHeight: aSettingHeight + (aTestOuter ? aPopupChromeUIHeight : 0),
     targetWidth:  aTargetWidth,
     targetHeight: aTargetHeight,
     testOuter: aTestOuter,
   };
 
   await ContentTask.spawn(aBrowser, testParams,
     async function(input) {
-
       let win;
       // Open a new window and wait until it loads.
       await new Promise(resolve => {
         // Given a initial window size which should be different from target
         // size. We need this to trigger 'onresize' event.
         let initWinFeatures = "width=" + input.initWidth + ",height=" + input.initHeight;
         win = content.open("http://example.net/", "", initWinFeatures);
         win.onload = () => resolve();
--- a/browser/components/resistfingerprinting/test/mochitest/file_animation_api.html
+++ b/browser/components/resistfingerprinting/test/mochitest/file_animation_api.html
@@ -67,17 +67,16 @@
     };
     const testDiv = document.getElementById("testDiv");
     const animation = testDiv.animate({ opacity: [0, 1] }, 100000);
     animation.play();
 
     waitForCondition(
       () => animation.currentTime > 100,
         () => {
-
           // We have disabled Time Precision Reduction for CSS Animations, so we expect those tests to fail.
           // If we are testing that preference, we accept either rounded or not rounded values as A-OK.
           var maybeAcceptEverything = function(value) {
             if (opener.prefName.includes("privacy.reduceTimerPrecision") &&
                 !opener.prefName.includes("privacy.resistFingerprinting"))
               return true;
             return value;
           };
--- a/browser/components/resistfingerprinting/test/mochitest/test_animation_api.html
+++ b/browser/components/resistfingerprinting/test/mochitest/test_animation_api.html
@@ -39,17 +39,16 @@ https://bugzilla.mozilla.org/show_bug.cg
     SpecialPowers.pushPrefEnv({"set":
       [
         ["dom.animations-api.timelines.enabled", true],
         ["privacy.resistFingerprinting", resistFingerprinting],
         ["privacy.reduceTimerPrecision", reduceTimerPrecision],
         ["privacy.resistFingerprinting.reduceTimerPrecision.microseconds", expectedPrecision],
       ],
     }, runTest);
-
   }
 
   var testIndx = 0;
   var testSequence = [
     [true, false, 100000],
     [false, true, 100000],
     [true, false, 50000],
     [false, true, 50000],
--- a/browser/components/resistfingerprinting/test/mochitest/test_pointer_event.html
+++ b/browser/components/resistfingerprinting/test/mochitest/test_pointer_event.html
@@ -189,17 +189,16 @@ https://bugzilla.mozilla.org/show_bug.cg
     synthesizeMouse(target0, 5, 5, { type: "mousemove", inputSource: MouseEvent.MOZ_SOURCE_TOUCH });
     synthesizeMouse(target0, 5, 5, { type: "mouseup", inputSource: MouseEvent.MOZ_SOURCE_TOUCH });
 
     await Promise.all(eventPromises);
   }
 
   // A test for assuring that script generated events won't be spoofed.
   function doTestNoSpoofingForScriptGeneratedEvent() {
-
     return new Promise(resolve => {
       // Generate a custom pointer event by script.
       let pointerEventCustom = new PointerEvent("pointerover", {
         pointerId: utils.DEFAULT_TOUCH_POINTER_ID,
         pointerType: "touch",
         width: 5,
         height: 5,
         pressure: 0.75,
--- a/browser/components/search/content/searchbar.js
+++ b/browser/components/search/content/searchbar.js
@@ -4,17 +4,16 @@
 
 "use strict";
 
 /* globals XULCommandEvent */
 
 // This is loaded into chrome windows with the subscript loader. Wrap in
 // a block to prevent accidentally leaking globals onto `window`.
 {
-
 const inheritsMap = {
   ".searchbar-textbox": ["disabled", "disableautocomplete", "searchengine", "src", "newlines"],
   ".searchbar-search-button": ["addengines"],
 };
 
 function inheritAttribute(parent, child, attr) {
   if (!parent.hasAttribute(attr)) {
     child.removeAttribute(attr);
@@ -22,17 +21,16 @@ function inheritAttribute(parent, child,
     child.setAttribute(attr, parent.getAttribute(attr));
   }
 }
 
 /**
  * Defines the search bar element.
  */
 class MozSearchbar extends MozXULElement {
-
   static get observedAttributes() {
     let unique = new Set();
     for (let i in inheritsMap) {
       inheritsMap[i].forEach(attr => unique.add(attr));
     }
     return Array.from(unique);
   }
 
@@ -478,15 +476,13 @@ class MozSearchbar extends MozXULElement
       }
 
       // Open the suggestions whenever clicking on the search icon or if there
       // is text in the textbox.
       if (isIconClick || this._textbox.value) {
         this.openSuggestionsPanel(true);
       }
     });
-
   }
 }
 
 customElements.define("searchbar", MozSearchbar);
-
 }
--- a/browser/components/sessionstore/SessionStore.jsm
+++ b/browser/components/sessionstore/SessionStore.jsm
@@ -4829,18 +4829,16 @@ var SessionStoreInternal = {
             state.selectedWindow -= 1;
           else if (wIndex + 1 == state.selectedWindow)
             defaultState.selectedIndex = defaultState.windows.length + 1;
 
           state.windows.splice(wIndex, 1);
           // We don't want to increment wIndex here.
           continue;
         }
-
-
       }
       wIndex++;
     }
 
     return [defaultState, state];
   },
 
   _sendRestoreCompletedNotifications: function ssi_sendRestoreCompletedNotifications() {
@@ -4871,17 +4869,16 @@ var SessionStoreInternal = {
 
    /**
    * Set the given window's busy state
    * @param aWindow the window
    * @param aValue the window's busy state
    */
   _setWindowStateBusyValue:
     function ssi_changeWindowStateBusyValue(aWindow, aValue) {
-
     this._windows[aWindow.__SSi].busy = aValue;
 
     // Keep the to-be-restored state in sync because that is returned by
     // getWindowState() as long as the window isn't loaded, yet.
     if (!this._isWindowLoaded(aWindow)) {
       let stateToRestore = this._statesToRestore[WINDOW_RESTORE_IDS.get(aWindow)].windows[0];
       stateToRestore.busy = aValue;
     }
--- a/browser/components/sessionstore/SessionWorker.js
+++ b/browser/components/sessionstore/SessionWorker.js
@@ -156,17 +156,16 @@ var Agent = {
         }
       }
     }
 
     let stateString = JSON.stringify(state);
     let data = Encoder.encode(stateString);
 
     try {
-
       if (this.state == STATE_CLEAN || this.state == STATE_EMPTY) {
         // The backups directory may not exist yet. In all other cases,
         // we have either already read from or already written to this
         // directory, so we are satisfied that it exists.
         File.makeDir(this.Paths.backups);
       }
 
       if (this.state == STATE_CLEAN) {
@@ -219,17 +218,16 @@ var Agent = {
           tmpPath: this.Paths.recovery + ".tmp",
           compression: "lz4",
         });
         fileStat = File.stat(this.Paths.recovery);
       }
 
       telemetry.FX_SESSION_RESTORE_WRITE_FILE_MS = Date.now() - startWriteMs;
       telemetry.FX_SESSION_RESTORE_FILE_SIZE_BYTES = fileStat.size;
-
     } catch (ex) {
       // Don't throw immediately
       exn = exn || ex;
     }
 
     // If necessary, perform an upgrade backup
     let upgradeBackupComplete = false;
     if (this.upgradeBackupNeeded
@@ -274,17 +272,16 @@ var Agent = {
           if (i < backups.length - this.maxUpgradeBackups) {
             File.remove(file);
           }
         });
       }
     }
 
     if (options.performShutdownCleanup && !exn) {
-
       // During shutdown, if auto-restore is disabled, we need to
       // remove possibly sensitive data that has been stored purely
       // for crash recovery. Note that this slightly decreases our
       // ability to recover from OS-level/hardware-level issue.
 
       // If an exception was raised, we assume that we still need
       // these files.
       File.remove(this.Paths.recoveryBackup);
@@ -304,17 +301,16 @@ var Agent = {
       telemetry,
     };
   },
 
   /**
    * Wipes all files holding session data from disk.
    */
   wipe() {
-
     // Don't stop immediately in case of error.
     let exn = null;
 
     // Erase main session state file
     try {
       File.remove(this.Paths.clean);
       // Remove old extension ones.
       File.remove(this.Paths.clean.replace("jsonlz4", "js"), {ignoreAbsent: true});
--- a/browser/components/sessionstore/test/browser_589246.js
+++ b/browser/components/sessionstore/test/browser_589246.js
@@ -211,17 +211,16 @@ function onWindowUnloaded() {
   // Now we want to open a new window
   let newWin = openDialog(location, "_blank", "chrome,all,dialog=no", "about:mozilla");
   newWin.addEventListener("load", function(aEvent) {
     newWin.gBrowser.selectedBrowser.addEventListener("load", function() {
       // Good enough for checking the state
       afterTestCallback(previousClosedWindowData, ss.getClosedWindowData());
       afterTestCleanup(newWin);
     }, {capture: true, once: true});
-
   }, {once: true});
 }
 
 function afterTestCleanup(aNewWin) {
   executeSoon(function() {
     BrowserTestUtils.closeWindow(aNewWin).then(() => {
       document.documentElement.setAttribute("windowtype", originalWindowType);
       runNextTestOrFinish();
--- a/browser/components/sessionstore/test/browser_739531.js
+++ b/browser/components/sessionstore/test/browser_739531.js
@@ -18,17 +18,16 @@ function test() {
   removeFunc = BrowserTestUtils.addContentEventListener(tab.linkedBrowser, "load", function onLoad(aEvent) {
     // make sure both the page and the frame are loaded
     if (++loadCount < 2)
       return;
     removeFunc();
 
     // executeSoon to allow the JS to execute on the page
     executeSoon(function() {
-
       let tab2;
       let caughtError = false;
       try {
         tab2 = ss.duplicateTab(window, tab);
       } catch (e) {
         caughtError = true;
         info(e);
       }
--- a/browser/components/sessionstore/test/browser_cleaner.js
+++ b/browser/components/sessionstore/test/browser_cleaner.js
@@ -125,17 +125,16 @@ add_task(async function test_old_data() 
   ok(isRecent(state._closedWindows[0].closedAt), "4. Second window was closed recently");
   ok(isRecent(state.windows[0]._closedTabs[0].closedAt), "4. First tab was closed recently");
   ok(isRecent(state.windows[0]._closedTabs[1].closedAt), "4. Second tab was closed recently");
   await promiseCleanup();
 });
 
 
 add_task(async function test_cleanup() {
-
   info("5. Altering closedAt to an old date, making sure that stuff gets collected, eventually");
   await promiseCleanup();
 
   let state = getClosedState();
   state._closedWindows[0].closedAt = LONG_TIME_AGO;
   state.windows[0]._closedTabs[0].closedAt = LONG_TIME_AGO;
   state.windows[0]._closedTabs[1].closedAt = Date.now();
   let url = state.windows[0]._closedTabs[1].state.entries[0].url;
--- a/browser/components/sessionstore/test/browser_privatetabs.js
+++ b/browser/components/sessionstore/test/browser_privatetabs.js
@@ -43,17 +43,16 @@ add_task(async function() {
 
     gBrowser.removeTab(tab1);
     tab1 = null;
 
     tab1 = ss.undoCloseTab(window, 0);
     ok(true, "Public tab supports undo close");
 
     is(ss.getClosedTabCount(window), 0, "Private tab does not support undo close");
-
   } finally {
     if (tab1) {
       gBrowser.removeTab(tab1);
     }
     if (tab2) {
       gBrowser.removeTab(tab2);
     }
   }
--- a/browser/components/shell/test/unit/test_421977.js
+++ b/browser/components/shell/test/unit/test_421977.js
@@ -32,38 +32,35 @@ function hexToColor(aString) {
 }
 
 /**
  * Checks that setting the GConf background key to aGConfColor will
  * result in the Shell component returning a background color equals
  * to aExpectedShellColor in #RRGGBB format.
  */
 function checkGConfToShellColor(aGConfColor, aExpectedShellColor) {
-
   gGConf.setString(GCONF_BG_COLOR_KEY, aGConfColor);
   var shellColor = colorToHex(gShell.desktopBackgroundColor);
 
   Assert.equal(shellColor, aExpectedShellColor);
 }
 
 /**
  * Checks that setting the background color (in #RRGGBB format) using the Shell
  * component will result in having a GConf key for the background color set to
  * aExpectedGConfColor.
  */
 function checkShellToGConfColor(aShellColor, aExpectedGConfColor) {
-
   gShell.desktopBackgroundColor = hexToColor(aShellColor);
   var gconfColor = gGConf.getString(GCONF_BG_COLOR_KEY);
 
   Assert.equal(gconfColor, aExpectedGConfColor);
 }
 
 function run_test() {
-
   // This test is Linux specific for now
   if (!("@mozilla.org/gnome-gconf-service;1" in Cc))
     return;
 
   try {
     // If GSettings is available, then the GConf tests
     // will fail
     Cc["@mozilla.org/gsettings-service;1"].
@@ -78,17 +75,16 @@ function run_test() {
   gShell = Cc["@mozilla.org/browser/shell-service;1"].
            getService(Ci.nsIShellService);
 
   // Save the original background color so that we can restore it
   // after the test.
   var origGConfColor = gGConf.getString(GCONF_BG_COLOR_KEY);
 
   try {
-
     checkGConfToShellColor("#000", "#000000");
     checkGConfToShellColor("#00f", "#0000FF");
     checkGConfToShellColor("#b2f", "#BB22FF");
     checkGConfToShellColor("#fff", "#FFFFFF");
 
     checkGConfToShellColor("#000000", "#000000");
     checkGConfToShellColor("#0000ff", "#0000FF");
     checkGConfToShellColor("#b002f0", "#B002F0");
@@ -107,13 +103,12 @@ function run_test() {
     checkGConfToShellColor("#ffffffffffff", "#FFFFFF");
 
     checkShellToGConfColor("#000000", "#000000000000");
     checkShellToGConfColor("#0000FF", "#00000000ffff");
     checkShellToGConfColor("#FFFFFF", "#ffffffffffff");
     checkShellToGConfColor("#0A0B0C", "#0a0a0b0b0c0c");
     checkShellToGConfColor("#A0B0C0", "#a0a0b0b0c0c0");
     checkShellToGConfColor("#AABBCC", "#aaaabbbbcccc");
-
   } finally {
     gGConf.setString(GCONF_BG_COLOR_KEY, origGConfColor);
   }
 }
--- a/browser/components/syncedtabs/test/browser/browser_sidebar_syncedtabslist.js
+++ b/browser/components/syncedtabs/test/browser/browser_sidebar_syncedtabslist.js
@@ -125,17 +125,16 @@ add_task(async function testSyncedTabsSi
   var expectedTabIndices = [[0], [2, 0, 1]];
   Array.prototype.forEach.call(selectedPanel.querySelectorAll(".client"), (clientNode, i) => {
     checkItem(clientNode, FIXTURE[i]);
     Array.prototype.forEach.call(clientNode.querySelectorAll(".tab"), (tabNode, j) => {
       let tabIndex = expectedTabIndices[i][j];
       checkItem(tabNode, FIXTURE[i].tabs[tabIndex]);
     });
   });
-
 });
 
 add_task(testClean);
 
 add_task(async function testSyncedTabsSidebarFilteredList() {
   await SidebarUI.show("viewTabsSidebar");
   let syncedTabsDeckComponent = window.SidebarUI.browser.contentWindow.syncedTabsDeckComponent;
 
--- a/browser/components/syncedtabs/test/xpcshell/test_SyncedTabsListStore.js
+++ b/browser/components/syncedtabs/test/xpcshell/test_SyncedTabsListStore.js
@@ -184,17 +184,16 @@ add_task(async function testRowSelection
 
   store.moveSelectionDown();
   Assert.equal(spy.callCount, 2,
     "can't move selection down past last tab, no change triggered");
 
   store.selectRow(1);
   Assert.equal(spy.callCount, 2,
     "doesn't trigger change if same row selected");
-
 });
 
 
 add_task(async function testFilterAndClearFilter() {
   let store = new SyncedTabsListStore(SyncedTabs);
   let spy = sinon.spy();
 
   sinon.stub(SyncedTabs, "getTabClients", () => {
--- a/browser/components/tests/startupRecorder.js
+++ b/browser/components/tests/startupRecorder.js
@@ -71,17 +71,16 @@ startupRecorder.prototype = {
         } catch (e) {
           return false;
         }
       }),
     };
   },
 
   observe(subject, topic, data) {
-
     if (topic == "app-startup") {
       // We can't ensure our observer will be called first or last, so the list of
       // topics we observe here should avoid the topics used to trigger things
       // during startup (eg. the topics observed by nsBrowserGlue.js).
       let topics = [
         "profile-do-change", // This catches stuff loaded during app-startup
         "toplevel-window-ready", // Catches stuff from final-ui-startup
         "image-loading",
--- a/browser/components/translation/BingTranslator.jsm
+++ b/browser/components/translation/BingTranslator.jsm
@@ -233,17 +233,16 @@ this.BingTranslator.prototype = {
       }
 
       text = escapeXML(text);
       let newCurSize = currentDataSize + text.length;
       let newChunks = currentChunks + 1;
 
       if (newCurSize > MAX_REQUEST_DATA ||
           newChunks > MAX_REQUEST_CHUNKS) {
-
         // If we've reached the API limits, let's stop accumulating data
         // for this request and return. We return information useful for
         // the caller to pass back on the next call, so that the function
         // can keep working from where it stopped.
         return {
           data: output,
           finished: false,
           lastIndex: i,
--- a/browser/components/translation/GoogleTranslator.jsm
+++ b/browser/components/translation/GoogleTranslator.jsm
@@ -208,17 +208,16 @@ this.GoogleTranslator.prototype = {
         continue;
       }
 
       let newCurSize = currentDataSize + text.length;
       let newChunks = currentChunks + 1;
 
       if (newCurSize > MAX_REQUEST_DATA ||
           newChunks > MAX_REQUEST_CHUNKS) {
-
         // If we've reached the API limits, let's stop accumulating data
         // for this request and return. We return information useful for
         // the caller to pass back on the next call, so that the function
         // can keep working from where it stopped.
         return {
           data: output,
           finished: false,
           lastIndex: i,
--- a/browser/components/translation/TranslationDocument.jsm
+++ b/browser/components/translation/TranslationDocument.jsm
@@ -559,62 +559,58 @@ function swapTextForItem(item, target) {
            curNode.nodeValue.trim() == "") {
       curNode = curNode.nextSibling;
     }
 
     // Now let's walk through all items in the `target` array of the
     // TranslationItem. This means either the TranslationItem.original or
     // TranslationItem.translation array.
     for (let targetItem of curItem[target]) {
-
       if (targetItem instanceof TranslationItem) {
         // If the array element is another TranslationItem object, let's
         // add it to the stack to be visited.
         visitStack.push(targetItem);
 
         let targetNode = targetItem.nodeRef;
 
             // If the node is not in the expected position, let's reorder
             // it into position...
         if (curNode != targetNode &&
             // ...unless the page has reparented this node under a totally
             // different node (or removed it). In this case, all bets are off
             // on being able to do anything correctly, so it's better not to
             // bring back the node to this parent.
             targetNode.parentNode == domNode) {
-
           // We don't need to null-check curNode because insertBefore(..., null)
           // does what we need in that case: reorder this node to the end
           // of child nodes.
           domNode.insertBefore(targetNode, curNode);
           curNode = targetNode;
         }
 
         // Move pointer forward. Since we do not add empty text nodes to the
         // list of translation items, we must skip them here too while
         // traversing the DOM in order to get better alignment between the
         // text nodes and the translation items.
         if (curNode) {
           curNode = getNextSiblingSkippingEmptyTextNodes(curNode);
         }
-
       } else if (targetItem === TranslationItem_NodePlaceholder) {
         // If the current item is a placeholder node, we need to move
         // our pointer "past" it, jumping from one side of a block of
         // elements + empty text nodes to the other side. Even if
         // non-placeholder elements exists inside the jumped block,
         // they will be pulled correctly later in the process when the
         // targetItem for those nodes are handled.
 
         while (curNode &&
                (curNode.nodeType != curNode.TEXT_NODE ||
                 curNode.nodeValue.trim() == "")) {
           curNode = curNode.nextSibling;
         }
-
       } else {
         // Finally, if it's a text item, we just need to find the next
         // text node to use. Text nodes don't need to be reordered, so
         // the first one found can be used.
         while (curNode && curNode.nodeType != curNode.TEXT_NODE) {
           curNode = curNode.nextSibling;
         }
 
--- a/browser/components/translation/YandexTranslator.jsm
+++ b/browser/components/translation/YandexTranslator.jsm
@@ -238,17 +238,16 @@ this.YandexTranslator.prototype = {
         continue;
       }
 
       let newCurSize = currentDataSize + text.length;
       let newChunks = currentChunks + 1;
 
       if (newCurSize > MAX_REQUEST_DATA ||
           newChunks > MAX_REQUEST_CHUNKS) {
-
         // If we've reached the API limits, let's stop accumulating data
         // for this request and return. We return information useful for
         // the caller to pass back on the next call, so that the function
         // can keep working from where it stopped.
         return {
           data: output,
           finished: false,
           lastIndex: i,
@@ -317,17 +316,16 @@ YandexRequest.prototype = {
           onError(e, responseText, xhr) {
             reject(xhr);
           },
           postData: params,
         };
 
         // Fire the request.
         this.networkRequest = httpRequest(url, options);
-
       });
     })();
   },
 };
 
 /**
  * Fetch an auth token (clientID or client secret), which may be overridden by
  * a pref if it's set.
--- a/browser/components/translation/test/browser_translation_bing.js
+++ b/browser/components/translation/test/browser_translation_bing.js
@@ -21,17 +21,16 @@ add_task(async function setup() {
     Services.prefs.clearUserPref(kClientSecretPref);
   });
 });
 
 /**
  * Checks if the translation is happening.
  */
 add_task(async function test_bing_translation() {
-
   // Ensure the correct client id is used for authentication.
   Services.prefs.setCharPref(kClientIdPref, "testClient");
 
   // Loading the fixture page.
   let url = constructFixtureURL("bug1022725-fr.html");
   let tab = await promiseTestPageLoad(url);
 
   // Translating the contents of the loaded tab.
@@ -58,17 +57,16 @@ add_task(async function test_bing_transl
 /**
  * Ensures that the BingTranslator handles out-of-valid-key response
  * correctly. Sometimes Bing Translate replies with
  * "request credentials is not in an active state" error. BingTranslator
  * should catch this error and classify it as Service Unavailable.
  *
  */
 add_task(async function test_handling_out_of_valid_key_error() {
-
   // Simulating request from inactive subscription.
   Services.prefs.setCharPref(kClientIdPref, "testInactive");
 
   // Loading the fixture page.
   let url = constructFixtureURL("bug1022725-fr.html");
   let tab = await promiseTestPageLoad(url);
 
   // Translating the contents of the loaded tab.
--- a/browser/components/translation/test/browser_translation_exceptions.js
+++ b/browser/components/translation/test/browser_translation_exceptions.js
@@ -59,42 +59,37 @@ function getInfoBar() {
 
     if (!infobar) {
       resolve();
     } else {
       // Wait for all animations to finish
       Promise.all(infobar.getAnimations().map(animation => animation.finished))
         .then(() => resolve(infobar));
     }
-
   });
 }
 
 function openPopup(aPopup) {
   return new Promise(resolve => {
-
     aPopup.addEventListener("popupshown", function() {
       TestUtils.executeSoon(resolve);
     }, {once: true});
 
     aPopup.focus();
     // One down event to open the popup.
     EventUtils.synthesizeKey("VK_DOWN",
                              { altKey: !navigator.platform.includes("Mac") });
-
   });
 }
 
 function waitForWindowLoad(aWin) {
   return new Promise(resolve => {
-
     aWin.addEventListener("load", function() {
       TestUtils.executeSoon(resolve);
     }, {capture: true, once: true});
-
   });
 }
 
 
 var gTests = [
 
 {
   desc: "clean exception lists at startup",
--- a/browser/components/translation/test/browser_translation_telemetry.js
+++ b/browser/components/translation/test/browser_translation_telemetry.js
@@ -268,17 +268,16 @@ add_task(async function test_never_offer
     autoRejectedOffers: 1,
   });
 
   gBrowser.removeTab(tab);
   Services.prefs.clearUserPref("browser.translation.neverForLanguages");
 });
 
 add_task(async function test_translation_preferences() {
-
   let preferenceChecks = {
     "browser.translation.ui.show": [
       {value: false, expected: {showUI: 0}},
       {value: true, expected: {showUI: 1}},
     ],
     "browser.translation.detectLanguage": [
       {value: false, expected: {detectLang: 0}},
       {value: true, expected: {detectLang: 1}},
@@ -290,10 +289,9 @@ add_task(async function test_translation
       MetricsChecker.reset();
       Services.prefs.setBoolPref(preference, check.value);
       // Preference metrics are collected once when the provider is initialized.
       TranslationTelemetry.init();
       await MetricsChecker.checkAdditions(check.expected);
     }
     Services.prefs.clearUserPref(preference);
   }
-
 });
--- a/browser/components/translation/test/browser_translation_yandex.js
+++ b/browser/components/translation/test/browser_translation_yandex.js
@@ -32,17 +32,16 @@ add_task(async function setup() {
   });
 });
 
 /**
  * Ensure that the translation engine behaives as expected when translating
  * a sample page.
  */
 add_task(async function test_yandex_translation() {
-
   // Loading the fixture page.
   let url = constructFixtureURL("bug1022725-fr.html");
   let tab = await promiseTestPageLoad(url);
 
   // Translating the contents of the loaded tab.
   gBrowser.selectedTab = tab;
   let browser = tab.linkedBrowser;
 
--- a/browser/components/uitour/test/browser_UITour.js
+++ b/browser/components/uitour/test/browser_UITour.js
@@ -250,17 +250,16 @@ var tests = [
       is(buttons.hasChildNodes(), false, "Popup should have no buttons");
 
       popup.addEventListener("popuphidden", function() {
         popup.addEventListener("popupshown", function() {
           done();
         }, {once: true});
 
         gContentAPI.showInfo("urlbar", "test title", "test text");
-
       }, {once: true});
       gContentAPI.hideInfo();
     }, {once: true});
 
     gContentAPI.showInfo("urlbar", "test title", "test text");
   },
   taskify(async function test_info_2() {
     let popup = document.getElementById("UITourTooltip");
--- a/browser/components/uitour/test/browser_no_tabs.js
+++ b/browser/components/uitour/test/browser_no_tabs.js
@@ -56,17 +56,16 @@ add_task(async function test_windowless_
 
   // Allow the URL to use the UITour.
   info("Adding UITour permission to the test page.");
   let pageURI = Services.io.newURI(pageURL);
   Services.perms.add(pageURI, "uitour", Services.perms.ALLOW_ACTION);
 
   // UITour's ping will resolve this promise.
   await new Promise(resolve => {
-
     // Create a windowless browser and test that UITour works in it.
     let browserPromise = createHiddenBrowser(pageURL);
     browserPromise.then(frameInfo => {
       isnot(frameInfo.browser, null, "The browser must exist and not be null.");
 
       // Load UITour frame script.
       frameInfo.browser.messageManager.loadFrameScript(
         "chrome://browser/content/content-UITour.js", false);
--- a/browser/components/uitour/test/browser_trackingProtection.js
+++ b/browser/components/uitour/test/browser_trackingProtection.js
@@ -29,17 +29,16 @@ add_task(async function test_benignPage(
   await BrowserTestUtils.withNewTab({gBrowser, url: BENIGN_PAGE}, async function() {
     await waitForConditionPromise(() => {
       return BrowserTestUtils.is_visible(TOOLTIP_PANEL);
     }, "Info panel shouldn't appear on a benign page").
       then(() => ok(false, "Info panel shouldn't appear"),
            () => {
              ok(true, "Info panel didn't appear on a benign page");
            });
-
   });
 });
 
 add_task(async function test_trackingPages() {
   info("Load a test page containing tracking elements");
   allowOneIntro();
   await BrowserTestUtils.withNewTab({gBrowser, url: TRACKING_PAGE}, async function() {
     await new Promise((resolve, reject) => {
@@ -78,11 +77,10 @@ add_task(async function test_trackingPag
   await BrowserTestUtils.withNewTab({gBrowser, url: TRACKING_PAGE}, async function() {
     await waitForConditionPromise(() => {
       return BrowserTestUtils.is_visible(TOOLTIP_PANEL);
     }, "Info panel shouldn't appear more than MAX_INTROS").
       then(() => ok(false, "Info panel shouldn't appear again"),
            () => {
              ok(true, "Info panel didn't appear more than MAX_INTROS on tracking pages");
            });
-
   });
 });
--- a/browser/components/urlbar/tests/legacy/browser_autocomplete_edit_completed.js
+++ b/browser/components/urlbar/tests/legacy/browser_autocomplete_edit_completed.js
@@ -39,10 +39,9 @@ add_task(async function() {
     gBrowser.selectedBrowser);
 
   info("Press return to load edited URL.");
   EventUtils.synthesizeKey("KEY_Enter");
   await Promise.all([
     promisePopupHidden(gURLBar.popup),
     docLoad,
   ]);
-
 });
--- a/browser/components/urlbar/tests/legacy/browser_search_favicon.js
+++ b/browser/components/urlbar/tests/legacy/browser_search_favicon.js
@@ -13,17 +13,16 @@ add_task(async function() {
   Services.prefs.setBoolPref(gRestyleSearchesPref, true);
 
   // This test is sensitive to the mouse position hovering awesome
   // bar elements, so make sure it doesnt
   await EventUtils.synthesizeNativeMouseMove(document.documentElement, 0, 0);
 });
 
 add_task(async function() {
-
   Services.search.addEngineWithDetails("SearchEngine", "", "", "",
                                        "GET", "http://s.example.com/search");
   gEngine = Services.search.getEngineByName("SearchEngine");
   gEngine.addParam("q", "{searchTerms}", null);
   gOriginalEngine = Services.search.defaultEngine;
   Services.search.defaultEngine = gEngine;
 
   let uri = NetUtil.newURI("http://s.example.com/search?q=foobar&client=1");
--- a/browser/extensions/formautofill/.eslintrc.js
+++ b/browser/extensions/formautofill/.eslintrc.js
@@ -87,19 +87,16 @@ module.exports = {
     // Disallow use of assignment in return statement. It is preferable for a
     // single line of code to have only one easily predictable effect.
     "no-return-assign": "error",
 
     // Disallow throwing literals (eg. throw "error" instead of
     // throw new Error("error")).
     "no-throw-literal": "error",
 
-    // Disallow padding within blocks.
-    "padded-blocks": ["error", "never"],
-
     // Require use of the second argument for parseInt().
     "radix": "error",
 
     // Enforce spacing after semicolons.
     "semi-spacing": ["error", {"before": false, "after": true}],
 
     // Require "use strict" to be defined globally in the script.
     "strict": ["error", "global"],
--- a/browser/extensions/pdfjs/content/PdfJsNetwork.jsm
+++ b/browser/extensions/pdfjs/content/PdfJsNetwork.jsm
@@ -20,17 +20,16 @@ const {Services} = ChromeUtils.import("r
 var EXPORTED_SYMBOLS = ["NetworkManager"];
 
 function log(aMsg) { // eslint-disable-line no-unused-vars
   var msg = "PdfJsNetwork.jsm: " + (aMsg.join ? aMsg.join("") : aMsg);
   Services.console.logStringMessage(msg);
 }
 
 var NetworkManager = (function NetworkManagerClosure() {
-
   const OK_RESPONSE = 200;
   const PARTIAL_CONTENT_RESPONSE = 206;
 
   function getArrayBuffer(xhr) {
     var data = xhr.response;
     if (typeof data !== "string") {
       return data;
     }
--- a/browser/extensions/pdfjs/content/PdfStreamConverter.jsm
+++ b/browser/extensions/pdfjs/content/PdfStreamConverter.jsm
@@ -543,17 +543,16 @@ class ChromeActions {
 }
 
 /**
  * This is for range requests.
  */
 class RangedChromeActions extends ChromeActions {
   constructor(domWindow, contentDispositionFilename, originalRequest,
               rangeEnabled, streamingEnabled, dataListener) {
-
     super(domWindow, contentDispositionFilename);
     this.dataListener = dataListener;
     this.originalRequest = originalRequest;
     this.rangeEnabled = rangeEnabled;
     this.streamingEnabled = streamingEnabled;
 
     this.pdfUrl = originalRequest.URI.spec;
     this.contentLength = originalRequest.contentLength;
--- a/browser/extensions/webcompat-reporter/.eslintrc.js
+++ b/browser/extensions/webcompat-reporter/.eslintrc.js
@@ -82,19 +82,16 @@ module.exports = {
     // Disallow use of assignment in return statement. It is preferable for a
     // single line of code to have only one easily predictable effect.
     "no-return-assign": "error",
 
     // Disallow throwing literals (eg. throw "error" instead of
     // throw new Error("error")).
     "no-throw-literal": "error",
 
-    // Disallow padding within blocks.
-    "padded-blocks": ["error", "never"],
-
     // Require use of the second argument for parseInt().
     "radix": "error",
 
     // Enforce spacing after semicolons.
     "semi-spacing": ["error", {"before": false, "after": true}],
 
     // Require "use strict" to be defined globally in the script.
     "strict": ["error", "global"],
--- a/browser/modules/SitePermissions.jsm
+++ b/browser/modules/SitePermissions.jsm
@@ -488,17 +488,16 @@ var SitePermissions = {
    *        The state of the permission.
    * @param {SitePermissions scope} scope (optional)
    *        The scope of the permission. Defaults to SCOPE_PERSISTENT.
    * @param {Browser} browser (optional)
    *        The browser object to set temporary permissions on.
    *        This needs to be provided if the scope is SCOPE_TEMPORARY!
    */
   set(uri, permissionID, state, scope = this.SCOPE_PERSISTENT, browser = null) {
-
     if (scope == this.SCOPE_GLOBAL && state == this.BLOCK) {
       GloballyBlockedPermissions.set(browser, permissionID);
       browser.dispatchEvent(new browser.ownerGlobal.CustomEvent("PermissionStateChange"));
       return;
     }
 
     if (state == this.UNKNOWN || state == this.getDefault(permissionID)) {
       // Because they are controlled by two prefs with many states that do not
--- a/browser/modules/test/browser/browser_SitePermissions_tab_urls.js
+++ b/browser/modules/test/browser/browser_SitePermissions_tab_urls.js
@@ -7,17 +7,16 @@
 ChromeUtils.import("resource:///modules/SitePermissions.jsm", this);
 
 function newURI(url) {
   return Services.io.newURI(url);
 }
 
 // This tests the key used to store the URI -> permission map on a tab.
 add_task(async function testTemporaryPermissionTabURLs() {
-
   // Prevent showing a dialog for https://name:password@example.com
   SpecialPowers.pushPrefEnv({set: [
         ["network.http.phishy-userpass-length", 2048],
   ]});
 
   // This usually takes about 60 seconds on 32bit Linux debug,
   // due to the combinatory nature of the test that is hard to fix.
   requestLongerTimeout(2);
@@ -79,11 +78,10 @@ add_task(async function testTemporaryPer
             scope: SitePermissions.SCOPE_PERSISTENT,
           }, `${uri.spec} should not share tab permissions with ${uri2.spec}`);
         }
       }
 
       SitePermissions.clearTemporaryPermissions(browser);
     }
   });
-
 });
 
--- a/browser/modules/webrtcUI.jsm
+++ b/browser/modules/webrtcUI.jsm
@@ -199,17 +199,16 @@ var webrtcUI = {
 
   off(...args) {
     return this.emitter.off(...args);
   },
 
   // Listeners and observers are registered in nsBrowserGlue.js
   receiveMessage(aMessage) {
     switch (aMessage.name) {
-
       case "rtcpeer:Request": {
         let params = Object.freeze(Object.assign({
           origin: aMessage.target.contentPrincipal.origin,
         }, aMessage.data));
 
         let blockers = Array.from(this.peerConnectionBlockers);
 
         (async function() {
@@ -888,17 +887,16 @@ function prompt(aBrowser, aRequest) {
                                              devices: allowedDevices});
       };
       return false;
     },
   };
 
   // Don't offer "always remember" action in PB mode.
   if (!PrivateBrowsingUtils.isBrowserPrivate(aBrowser)) {
-
     // Disable the permanent 'Allow' action if the connection isn't secure, or for
     // screen/audio sharing (because we can't guess which window the user wants to
     // share without prompting).
     let reasonForNoPermanentAllow = "";
     if (sharingScreen) {
       reasonForNoPermanentAllow = "getUserMedia.reasonForNoPermanentAllow.screen3";
     } else if (sharingAudio) {
       reasonForNoPermanentAllow = "getUserMedia.reasonForNoPermanentAllow.audio";
--- a/caps/tests/mochitest/browser_checkloaduri.js
+++ b/caps/tests/mochitest/browser_checkloaduri.js
@@ -253,11 +253,10 @@ add_task(async function() {
                 baseFlags | ssm.DISALLOW_INHERIT_PRINCIPAL);
 
         testURL(contentPrincipal, "view-source:" + contentBlobURI, false, false, true,
                 baseFlags);
         testURL(contentPrincipal, "view-source:" + contentBlobURI, false, false, true,
                 baseFlags | ssm.DISALLOW_INHERIT_PRINCIPAL);
       }
     );
-
   });
 });
--- a/chrome/test/unit/test_bug564667.js
+++ b/chrome/test/unit/test_bug564667.js
@@ -32,17 +32,16 @@ function test_removed_mapping(chromeURL,
     gCR.convertChromeURL(uri);
     do_throw(chromeURL + " not removed");
   } catch (ex) {
     // This should throw
   }
 }
 
 function testManifest(manifestPath, baseURI) {
-
   // ------------------  Add manifest file ------------------------
   Components.manager.addBootstrappedManifestLocation(manifestPath);
 
   // Test Adding Content URL
   test_mapping("chrome://test1/content", baseURI + "test/test1.xul");
 
   // Test Adding Locale URL
   test_mapping("chrome://test1/locale", baseURI + "test/test1.dtd");
--- a/chrome/test/unit/test_bug848297.js
+++ b/chrome/test/unit/test_bug848297.js
@@ -16,23 +16,21 @@ var chromeReg = Cc["@mozilla.org/chrome/
                 .QueryInterface(Ci.nsIToolkitChromeRegistry);
 chromeReg.checkForNewChrome();
 
 function enum_to_array(strings) {
   return Array.from(strings).sort();
 }
 
 function run_test() {
-
   // without override
   Services.locale.requestedLocales = ["de"];
   Assert.equal(chromeReg.getSelectedLocale("basepack"), "en-US");
   Assert.equal(chromeReg.getSelectedLocale("overpack"), "de");
   Assert.deepEqual(enum_to_array(chromeReg.getLocalesForPackage("basepack")),
                    ["en-US", "fr"]);
 
   // with override
   Services.prefs.setCharPref("chrome.override_package.basepack", "overpack");
   Assert.equal(chromeReg.getSelectedLocale("basepack"), "de");
   Assert.deepEqual(enum_to_array(chromeReg.getLocalesForPackage("basepack")),
                    ["de", "en-US"]);
-
 }
--- a/chrome/test/unit/test_data_protocol_registration.js
+++ b/chrome/test/unit/test_data_protocol_registration.js
@@ -40,17 +40,16 @@ function run_test() {
   let registrar = Components.manager.QueryInterface(Ci.nsIComponentRegistrar);
 
   // Register our factories
   for (let i = 0; i < factories.length; i++) {
     let factory = factories[i];
 
     // Make sure the class ID has not already been registered
     if (!registrar.isCIDRegistered(factory.CID)) {
-
       // Check to see if a contract was already registered and
       // register it if it is not. Otherwise, store the previous one
       // to be restored later and register the new one.
       if (registrar.isContractIDRegistered(factory.contractID)) {
         dump(factory.scheme + " is already registered. Storing currently registered object for restoration later.");
         old_factories.push({
           CID: registrar.contractIDToCID(factory.contractID),
           factory: Components.manager.getClassObject(Cc[factory.contractID], Ci.nsIFactory),
--- a/chrome/test/unit/test_no_remote_registration.js
+++ b/chrome/test/unit/test_no_remote_registration.js
@@ -113,17 +113,16 @@ function run_test() {
     registrar.registerFactory(factory.CID, "test-" + factory.scheme,
                                factory.contractID, factory);
   }
 
   // Register the XULAppInfoFactory
   // Make sure the class ID has not already been registered
   let old_factory = {CID: "", factory: null};
   if (!registrar.isCIDRegistered(XULAppInfoFactory.CID)) {
-
     // Check to see if a contract was already registered and
     // register it if it is not. Otherwise, store the previous one
     // to be restored later and register the new one.
     if (registrar.isContractIDRegistered(XULAppInfoFactory.contractID)) {
       dump(XULAppInfoFactory.scheme + " is already registered. Storing currently registered object for restoration later.");
       old_factory.CID = registrar.contractIDToCID(XULAppInfoFactory.contractID);
       old_factory.factory = Components.manager.getClassObject(Cc[XULAppInfoFactory.contractID], Ci.nsIFactory);
       registrar.unregisterFactory(old_factory.CID, old_factory.factory);
--- a/devtools/.eslintrc.js
+++ b/devtools/.eslintrc.js
@@ -373,18 +373,16 @@ module.exports = {
     // Allow using TODO/FIXME comments.
     "no-warning-comments": "off",
     // Don't require method and property shorthand syntax for object literals.
     // We use this in the code a lot, but not consistently, and this seems more
     // like something to check at code review time.
     "object-shorthand": "off",
     // Allow more than one variable declaration per function.
     "one-var": "off",
-    // Disallow padding within blocks.
-    "padded-blocks": ["error", "never"],
     // Enforce using `let` only when variables are reassigned.
     "prefer-const": ["error", { "destructuring": "all" }],
     // Don't require quotes around object literal property names.
     "quote-props": "off",
     // Require use of the second argument for parseInt().
     "radix": "error",
     // Enforce spacing after semicolons.
     "semi-spacing": ["error", {"before": false, "after": true}],
--- a/docshell/test/navigation/NavigationUtils.js
+++ b/docshell/test/navigation/NavigationUtils.js
@@ -94,17 +94,16 @@ function isInaccessible(wnd, message) {
 }
 
 // /////////////////////////////////////////////////////////////////////////
 // Functions that require UniversalXPConnect privilege
 // /////////////////////////////////////////////////////////////////////////
 // Replacing the getService with Services.ww format causes test errors, so ignore for now
 /* eslint-disable mozilla/use-services */
 function xpcEnumerateContentWindows(callback) {
-
   var Ci = SpecialPowers.Ci;
   var ww = SpecialPowers.Cc["@mozilla.org/embedcomp/window-watcher;1"]
                         .getService(Ci.nsIWindowWatcher);
 
   var contentWindows = [];
 
   for (let win of ww.getWindowEnumerator()) {
     if (win.isChromeWindow) {
@@ -180,17 +179,16 @@ function xpcWaitForFinishedFrames(callba
   function searchForFinishedFrames(win) {
     if ((win.location.href.endsWith(target_url) ||
          win.location.href.endsWith(target_popup_url)) &&
         win.document &&
         win.document.body &&
         (win.document.body.textContent.trim() == body ||
          win.document.body.textContent.trim() == popup_body) &&
         win.document.readyState == "complete") {
-
       var windowId = win.windowUtils.outerWindowID;
       if (!contains(windowId, finishedWindows)) {
         finishedWindows.push(windowId);
         frameFinished();
       }
     }
     for (var i = 0; i < win.frames.length; i++)
       searchForFinishedFrames(win.frames[i]);
--- a/docshell/test/navigation/browser_bug343515.js
+++ b/docshell/test/navigation/browser_bug343515.js
@@ -30,17 +30,16 @@ function oneShotListener(aBrowser, aType
 function waitForPageshow(aBrowser, callback) {
   return ContentTask.spawn(aBrowser, null, async function() {
     await ContentTaskUtils.waitForEvent(this, "pageshow");
   }).then(callback);
 }
 
 // Entry point from Mochikit
 function test() {
-
   // Lots of callbacks going on here
   waitForExplicitFinish();
 
   // Begin the test
   step1();
 }
 
 async function step1() {
@@ -173,17 +172,16 @@ function step5() {
 
     // bug343515_pg3.html consists of a page with two iframes, one of which
     // contains another iframe, so there'll be a total of 4 load events
     nShotsListener(ctx.tab1Browser, "load", step6, 4);
   });
 }
 
 function step6() {
-
   // Check everything
   ok(!ctx.tab0Browser.docShellIsActive, "Tab 0 should be inactive");
   ok(ctx.tab1Browser.docShellIsActive, "Tab 1 should be active");
   ContentTask.spawn(ctx.tab1Browser, null, async function() {
     function isActive(aWindow) {
       var docshell = aWindow.docShell;
       return docshell.isActive;
     }
@@ -235,16 +233,15 @@ function step7() {
   }).then(() => {
     // That's probably enough
     allDone();
   });
 }
 
 
 function allDone() {
-
   // Close the tabs we made
   gBrowser.removeTab(ctx.tab1);
   gBrowser.removeTab(ctx.tab2);
 
   // Tell the framework we're done
   finish();
 }
--- a/docshell/test/navigation/test_bug386782.html
+++ b/docshell/test/navigation/test_bug386782.html
@@ -83,17 +83,16 @@ https://bugzilla.mozilla.org/show_bug.cg
           gTest.window.close();
           goNext();
         }
       };
       gTest.window.history.back();
     }
 
     function checkStillEditable() {
-
       // Check that the contents are correct.
       is(gTest.window.document.body.innerHTML, gTest.expectedBodyAfterEdit, "Edited contents still correct?");
 
       // Check that we can undo/redo and the contents are correct.
       gTest.window.document.execCommand("undo", false, null);
       is(gTest.window.document.body.innerHTML, gTest.expectedBodyBeforeEdit, "Can we undo?");
 
       gTest.window.document.execCommand("redo", false, null);
@@ -101,17 +100,16 @@ https://bugzilla.mozilla.org/show_bug.cg
 
       // Check that we can still edit the page.
       gTest.window.document.body.focus();
       sendString("TWICE ", gTest.window);
       is(gTest.window.document.body.innerHTML, gTest.expectedBodyAfterSecondEdit, "Can we still edit?");
 
       gTest.window.close();
       goNext();
-
     }
 
   </script>
 
 </head>
 <body>
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=386782">Mozilla Bug 386782</a>
 <p id="display"></p>
--- a/docshell/test/unit/test_nsDefaultURIFixup_info.js
+++ b/docshell/test/unit/test_nsDefaultURIFixup_info.js
@@ -550,17 +550,16 @@ function do_single_test_run() {
   for (let { input: testInput,
              fixedURI: expectedFixedURI,
              alternateURI: alternativeURI,
              keywordLookup: expectKeywordLookup,
              protocolChange: expectProtocolChange,
              inWhitelist: inWhitelist,
              affectedByDNSForSingleHosts: affectedByDNSForSingleHosts,
            } of relevantTests) {
-
     // Explicitly force these into a boolean
     expectKeywordLookup = !!expectKeywordLookup;
     expectProtocolChange = !!expectProtocolChange;
     inWhitelist = !!inWhitelist;
     affectedByDNSForSingleHosts = !!affectedByDNSForSingleHosts;
 
     expectKeywordLookup = expectKeywordLookup && (!affectedByDNSForSingleHosts || !gSingleWordHostLookup);
 
--- a/dom/base/test/unit/test_cancelPrefetch.js
+++ b/dom/base/test/unit/test_cancelPrefetch.js
@@ -23,17 +23,16 @@ function run_test() {
 
   node1 = doc.getElementById("node1");
   node2 = doc.getElementById("node2");
 
   run_next_test();
 }
 
 add_test(function test_cancel1() {
-
   var uri = ios.newURI("http://localhost/1");
   prefetch.prefetchURI(uri, uri, node1, true);
 
   Assert.ok(prefetch.hasMoreElements(), "There is a request in the queue");
 
   // Trying to prefetch again the same uri with the same node will fail.
   var didFail = 0;
 
--- a/dom/base/test/unit/test_isequalnode.js
+++ b/dom/base/test/unit/test_isequalnode.js
@@ -17,17 +17,16 @@ function run_test() {
   test_isEqualNode_variety();
   test_isEqualNode_normalization();
   test_isEqualNode_whitespace();
   test_isEqualNode_namespaces();
   test_isEqualNode_wholeDoc();
 
   // XXX should Node.isEqualNode(null) throw or return false?
   // test_isEqualNode_null();
-
 }
 
 // TEST CODE
 
 var doc, root; // cache for use in all tests
 
 function init() {
   doc = ParseFile("isequalnode_data.xml");
--- a/dom/base/test/unit/test_nodelist.js
+++ b/dom/base/test/unit/test_nodelist.js
@@ -1,19 +1,17 @@
 /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
 function run_test() {
-
   test_getElementsByTagName();
   test_getElementsByTagNameNS();
   test_getElementsByAttribute();
   test_getElementsByAttributeNS();
 
   // What else should we test?
   // XXXbz we need more tests here to test liveness!
-
 }
 
 function test_getElementsByTagName() {
   var doc = ParseFile("nodelist_data_1.xml");
   var root = doc.documentElement;
 
   // Check that getElementsByTagName returns an HTMLCollection.
   Assert.equal(ChromeUtils.getClassName(doc.getElementsByTagName("*")),
--- a/dom/base/test/unit/test_xml_serializer.js
+++ b/dom/base/test/unit/test_xml_serializer.js
@@ -1,17 +1,16 @@
 
 // The xml serializer uses the default line break of the plateform.
 // So we need to know the value of this default line break, in order
 // to build correctly the reference strings for tests.
 // This variable will contain this value.
 var LB;
 
 function run_test() {
-
   if (mozinfo.os == "win") {
     LB = "\r\n";
   } else {
     LB = "\n";
   }
 
   for (var i = 0; i < tests.length && tests[i]; ++i) {
     tests[i].call();
@@ -87,17 +86,16 @@ function test3() {
   doc = ParseXML('<prefix:root xmlns:prefix="ns1"/>');
   root = doc.documentElement;
   child = doc.createElementNS("ns2", "prefix:child");
   root.appendChild(child);
   do_check_serialize(doc);
   Assert.equal(SerializeXML(doc),
                '<prefix:root xmlns:prefix="ns1"><a0:child xmlns:a0="ns2"/>' +
                "</prefix:root>");
-
 }
 
 function test4() {
   // setAttributeNS tests
 
   var doc = ParseXML('<root xmlns="ns1"/>');
   var root = doc.documentElement;
   root.setAttributeNS("ns1", "prefix:local", "val");
--- a/dom/console/tests/test_console_binding.html
+++ b/dom/console/tests/test_console_binding.html
@@ -21,17 +21,16 @@ consoleListener.prototype  = {
       if (order + 1 == parseInt(obj.arguments[0])) {
         ok(true, "Message received: " + obj.arguments[0]);
         order++;
       }
 
       if (order == 3) {
         SpecialPowers.removeObserver(this, "console-api-log-event");
         SimpleTest.finish();
-
       }
     }
   },
 };
 
 var cl = new consoleListener();
 SimpleTest.waitForExplicitFinish();
 
--- a/dom/console/tests/test_devtools_pref.html
+++ b/dom/console/tests/test_devtools_pref.html
@@ -15,17 +15,16 @@ function consoleListener(expected) {
     let observer = {
       observe: function listener(aSubject, aTopic, aData) {
         var obj = aSubject.wrappedJSObject;
         messages.push(parseInt(obj.arguments[0]));
         if (messages.length == expected) {
           SpecialPowers.removeObserver(observer, "console-api-log-event");
           SpecialPowers.removeObserver(observer, "console-api-profiler");
           done(messages);
-
         }
       },
     };
     SpecialPowers.addObserver(observer, "console-api-log-event");
     SpecialPowers.addObserver(observer, "console-api-profiler");
   });
 }
 
--- a/dom/credentialmanagement/tests/mochitest/test_credman_iframes.html
+++ b/dom/credentialmanagement/tests/mochitest/test_credman_iframes.html
@@ -46,13 +46,12 @@ function handleEventMessage(event) {
 window.addEventListener("message", handleEventMessage);
 SpecialPowers.pushPrefEnv({"set": [["security.webauth.webauthn", true],
                                    ["security.webauth.webauthn_enable_softtoken", true],
                                    ["security.webauth.webauthn_enable_usbtoken", false]]},
 function() {
   document.getElementById("frame_top").src = "https://example.com/tests/dom/credentialmanagement/tests/mochitest/frame_credman_iframes.html";
 
   document.getElementById("frame_bottom").src = "https://test1.example.com/tests/dom/credentialmanagement/tests/mochitest/frame_credman_iframes.html";
-
 });
 </script>
 </body>
 </html>
--- a/dom/crypto/test/test_WebCrypto_Wrap_Unwrap.html
+++ b/dom/crypto/test/test_WebCrypto_Wrap_Unwrap.html
@@ -237,17 +237,16 @@ TestArray.addTest(
       crypto.subtle.importKey("jwk", tv.aes_kw.key,
                               "AES-GCM", true, ["encrypt"]),
     ])
       .then(doWrap)
       .then(
         memcmp_complete(that, tv.aes_kw.wrapped_key),
         error(that)
       );
-
   }
 );
 
 // -----------------------------------------------------------------------------
 TestArray.addTest(
   "AES-KW unwrap failure on tampered key data",
   function() {
     var that = this;
--- a/dom/filesystem/compat/tests/test_basic.html
+++ b/dom/filesystem/compat/tests/test_basic.html
@@ -104,17 +104,16 @@ function test_directoryEntry_createReade
     // Called twice:
     reader.readEntries(function(a1) {
       ok(Array.isArray(a1), "We want an array.");
       is(a1.length, 0, "reader.readyEntries returns 0 elements.");
       next();
     }, function() {
       ok(false, "Something when wrong!");
     });
-
   }, function() {
     ok(false, "Something when wrong!");
   });
 }
 
 function test_directoryEntry_getParent() {
   directoryEntry.getParent(function(entry) {
     is(directoryEntry.fullPath, entry.fullPath, "Top level FileEntry should return itself as parent.");
--- a/dom/indexedDB/test/leaving_page_iframe.html
+++ b/dom/indexedDB/test/leaving_page_iframe.html
@@ -27,16 +27,15 @@ function madeMod() {
     // Make this transaction run until the end of time or until the page is
     // navigated away, whichever comes first.
     function doGet() {
       store.get(42).onsuccess = doGet;
     }
     doGet();
     document.location = "about:blank";
   };
-
 }
   </script>
 </head>
 <body onload="startDBWork();">
   This is page one.
 </body>
 </html>
--- a/dom/indexedDB/test/test_blob_simple.html
+++ b/dom/indexedDB/test/test_blob_simple.html
@@ -209,17 +209,16 @@
     function workerScript() {
       /* eslint-env worker */
       onmessage = function(event) {
         var reader = new FileReaderSync();
         postMessage(reader.readAsText(event.data));
 
         var slice = event.data.slice(1, 2);
         postMessage(reader.readAsText(slice));
-
       };
     }
 
     let url =
       URL.createObjectURL(new Blob(["(", workerScript.toSource(), ")()"]));
 
     let worker = new Worker(url);
     worker.postMessage(slice);
--- a/dom/ipc/tests/browser_domainPolicy.js
+++ b/dom/ipc/tests/browser_domainPolicy.js
@@ -7,17 +7,16 @@ function activateDomainPolicy() {
 function deactivateDomainPolicy() {
   if (policy) {
     policy.deactivate();
     policy = null;
   }
 }
 
 async function test_domainPolicy() {
-
   ChromeUtils.defineModuleGetter(this, "Promise", "resource://gre/modules/Promise.jsm");
   let outerDeferred = Promise.defer();
   let currentTask = outerDeferred.promise;
   SpecialPowers.pushPrefEnv(
     {set: [["dom.ipc.browser_frames.oop_by_default", false],
           ["browser.pagethumbnails.capturing_disabled", false],
           ["dom.mozBrowserFramesEnabled", false]]},
     () => { return outerDeferred.resolve(); });
--- a/dom/ipc/tests/test_CrashService_crash.html
+++ b/dom/ipc/tests/test_CrashService_crash.html
@@ -16,33 +16,31 @@ Ensures that content crashes are reporte
 SimpleTest.waitForExplicitFinish();
 SimpleTest.requestFlakyTimeout("untriaged");
 SpecialPowers.addPermission("browser", true, document);
 SpecialPowers.pushPrefEnv({"set": [
   ["dom.mozBrowserFramesEnabled", true],
   ["network.disable.ipc.security", true],
   ["dom.ipc.tabs.disabled", false],
 ]}, function() {
-
   var iframe =  document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
   iframe.setAttribute("remote", "true");
   SpecialPowers.wrap(iframe).mozbrowser = true;
   document.documentElement.appendChild(iframe);
 
   SimpleTest.expectChildProcessCrash();
 
   var crashMan =
     SpecialPowers.Cu.import("resource://gre/modules/Services.jsm").
     Services.crashmanager;
 
   // First, clear the crash record store.
   info("Waiting for pruneOldCrashes");
   var future = new Date(Date.now() + 1000 * 60 * 60 * 24);
   crashMan.pruneOldCrashes(future).then(function() {
-
     var crashDateMS = Date.now();
 
     // Inject a frame script that crashes the content process.
     var mm = SpecialPowers.getBrowserFrameMessageManager(iframe);
     mm.loadFrameScript("data:,new " + function ContentScriptScope() {
       const {ctypes} = ChromeUtils.import("resource://gre/modules/ctypes.jsm");
       let crash = function() {
         let zero = new ctypes.intptr_t(8);
@@ -76,17 +74,16 @@ SpecialPowers.pushPrefEnv({"set": [
           setTimeout(tryGetCrash, 1000);
         }
       }), function(err) {
         ok(false, "Error getting crashes: " + err);
         SimpleTest.finish();
       });
     }
     setTimeout(tryGetCrash, 1000);
-
   }, function() {
     ok(false, "pruneOldCrashes error");
     SimpleTest.finish();
   });
 });
 
 </script>
 </body>
--- a/dom/ipc/tests/test_child_docshell.html
+++ b/dom/ipc/tests/test_child_docshell.html
@@ -14,17 +14,16 @@
 
 SimpleTest.waitForExplicitFinish();
 SpecialPowers.addPermission("browser", true, document);
 SpecialPowers.pushPrefEnv({"set": [
   ["dom.mozBrowserFramesEnabled", true],
   ["network.disable.ipc.security", true],
   ["dom.ipc.tabs.disabled", false],
 ]}, function() {
-
   var iframe =  document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
   iframe.setAttribute("remote", "true");
   SpecialPowers.wrap(iframe).mozbrowser = true;
   document.documentElement.appendChild(iframe);
 
   var mm = SpecialPowers.getBrowserFrameMessageManager(iframe);
   mm.addMessageListener("chromeEventHandler", function(msg) {
     msg = SpecialPowers.wrap(msg);
--- a/dom/manifest/Manifest.jsm
+++ b/dom/manifest/Manifest.jsm
@@ -53,17 +53,16 @@ const MANIFESTS_DIR = OS.Path.join(OS.Co
 // whether a given url is within the scope of a previously installed manifest
 const MANIFESTS_FILE = "manifest-scopes.json";
 
 /**
  * Manifest object
  */
 
 class Manifest {
-
   constructor(browser, manifestUrl) {
     this._manifestUrl = manifestUrl;
     // The key for this is the manifests URL that is required to be unique.
     // However arbitrary urls are not safe file paths so lets hash it.
     const fileName = generateHash(manifestUrl) + ".json";
     this._path = OS.Path.join(MANIFESTS_DIR, fileName);
     this._browser = browser;
   }
@@ -136,40 +135,37 @@ class Manifest {
 }
 
 /*
  * Manifests maintains the list of installed manifests
  */
 var Manifests = {
 
   async initialise() {
-
     if (this.started) {
       return this.started;
     }
 
     this.started = (async () => {
-
       // Make sure the manifests have the folder needed to save into
       await OS.File.makeDir(MANIFESTS_DIR, {ignoreExisting: true});
 
       // Ensure any existing scope data we have about manifests is loaded
       this._path = OS.Path.join(OS.Constants.Path.profileDir, MANIFESTS_FILE);
       this._store = new JSONFile({path: this._path});
       await this._store.load();
 
       // If we dont have any existing data, initialise empty
       if (!this._store.data.hasOwnProperty("scopes")) {
         this._store.data.scopes = new Map();
       }
 
       // Cache the Manifest objects creates as they are references to files
       // and we do not want multiple file handles
       this.manifestObjs = {};
-
     })();
 
     return this.started;
   },
 
   // When a manifest is installed, we save its scope so we can determine if
   // fiture visits fall within this manifests scope
   manifestInstalled(manifest) {
@@ -186,17 +182,16 @@ var Manifests = {
       }
     }
     return null;
   },
 
   // Get the manifest given a url, or if not look for a manifest that is
   // tied to the current page
   async getManifest(browser, manifestUrl) {
-
     // Ensure we have all started up
     await this.initialise();
 
     // If the client does not already know its manifestUrl, we take the
     // url of the client and see if it matches the scope of any installed
     // manifests
     if (!manifestUrl) {
       const url = stripQuery(browser.currentURI.spec);
--- a/dom/manifest/test/browser_Manifest_install.js
+++ b/dom/manifest/test/browser_Manifest_install.js
@@ -14,21 +14,19 @@ function makeTestURL() {
   const url = new URL(defaultURL);
   const body = `<link rel="manifest" href='${manifestUrl}'>`;
   url.searchParams.set("Content-Type", "text/html; charset=utf-8");
   url.searchParams.set("body", encodeURIComponent(body));
   return url.href;
 }
 
 add_task(async function() {
-
   const tabOptions = {gBrowser, url: makeTestURL()};
 
   await BrowserTestUtils.withNewTab(tabOptions, async function(browser) {
-
     let manifest = await Manifests.getManifest(browser, manifestUrl);
     is(manifest.installed, false, "We havent installed this manifest yet");
 
     await manifest.install(browser);
     is(manifest.name, "hello World", "Manifest has correct name");
     is(manifest.installed, true, "Manifest is installed");
     is(manifest.url, manifestUrl, "has correct url");
 
@@ -39,10 +37,9 @@ add_task(async function() {
     is(manifest.installed, true, "Will find manifest without being given url");
 
     let foundManifest = Manifests.findManifestUrl("http://example.org/browser/dom/");
     is(foundManifest, manifestUrl, "Finds manifests within scope");
 
     foundManifest = Manifests.findManifestUrl("http://example.org/");
     is(foundManifest, null, "Does not find manifests outside scope");
   });
-
 });
--- a/dom/media/PeerConnection.js
+++ b/dom/media/PeerConnection.js
@@ -568,17 +568,16 @@ class RTCPeerConnection {
       if (!closed && this._closed) {
         await new Promise(() => {});
       }
       throw e;
     }
   }
 
   async _legacyCloseWrapper(onSucc, onErr, func) {
-
     let wrapCallback = cb => result => {
       try {
         cb && cb(result);
       } catch (e) {
         this.logErrorAndCallOnError(e);
       }
     };
 
@@ -609,17 +608,16 @@ class RTCPeerConnection {
    *                   { urls: ["turn:turn1.x.org", "turn:turn2.x.org"],
    *                     username:"jib", credential:"mypass"} ] }
    *
    * This function normalizes the structure of the input for rtcConfig.iceServers for us,
    * so we test well-formed stun/turn urls before passing along to C++.
    *   msg - Error message to detail which array-entry failed, if any.
    */
   _mustValidateRTCConfiguration({ iceServers }, msg) {
-
     // Normalize iceServers input
     iceServers.forEach(server => {
       if (typeof server.urls === "string") {
         server.urls = [server.urls];
       } else if (!server.urls && server.url) {
         // TODO: Remove support for legacy iceServer.url eventually (Bug 1116766)
         server.urls = [server.url];
         this.logWarning("RTCIceServer.url is deprecated! Use urls instead.");
@@ -1680,17 +1678,16 @@ class PeerConnectionObserver {
     let win = this._dompc._win;
     if (candidate) {
       if (candidate.includes(" typ relay ")) {
         this._dompc._iceGatheredRelayCandidates = true;
       }
       candidate = new win.RTCIceCandidate({ candidate, sdpMid, sdpMLineIndex });
     } else {
       candidate = null;
-
     }
     this.dispatchEvent(new win.RTCPeerConnectionIceEvent("icecandidate",
                                                          { candidate }));
   }
 
   // This method is primarily responsible for updating iceConnectionState.
   // This state is defined in the WebRTC specification as follows:
   //
--- a/dom/media/mediasource/test/mediasource.js
+++ b/dom/media/mediasource/test/mediasource.js
@@ -109,17 +109,16 @@ async function loadSegment(sb, typedArra
   const p = once(sb, "update");
   sb.appendBuffer(typedArray);
   await p;
   const afterBuffered = timeRangeToString(sb.buffered);
   info(`SourceBuffer buffered ranges grew from ${beforeBuffered} to ${afterBuffered}`);
 }
 
 async function fetchAndLoad(sb, prefix, chunks, suffix) {
-
   // Fetch the buffers in parallel.
   const buffers = await Promise.all(chunks.map(c => fetchWithXHR(prefix + c + suffix)));
 
   // Load them in series, as required per spec.
   for (const buffer of buffers) {
     await loadSegment(sb, buffer);
   }
 }
@@ -131,17 +130,16 @@ function loadSegmentAsync(sb, typedArray
   const beforeBuffered = timeRangeToString(sb.buffered);
   return sb.appendBufferAsync(typedArray).then(() => {
     const afterBuffered = timeRangeToString(sb.buffered);
     info(`SourceBuffer buffered ranges grew from ${beforeBuffered} to ${afterBuffered}`);
   });
 }
 
 function fetchAndLoadAsync(sb, prefix, chunks, suffix) {
-
   // Fetch the buffers in parallel.
   const buffers = {};
   const fetches = [];
   for (const chunk of chunks) {
     fetches.push(fetchWithXHR(prefix + chunk + suffix).then(((c, x) => buffers[c] = x).bind(null, chunk)));
   }
 
   // Load them in series, as required per spec.
--- a/dom/media/mediasource/test/test_AVC3_mp4.html
+++ b/dom/media/mediasource/test/test_AVC3_mp4.html
@@ -8,17 +8,16 @@
 </head>
 <body>
 <pre id="test">
 <script class="testbody" type="text/javascript">
 
 SimpleTest.waitForExplicitFinish();
 
 runWithMSE(async (ms, el) => {
-
   await once(ms, "sourceopen");
   ok(true, "Receive a sourceopen event");
   const videosb = ms.addSourceBuffer("video/mp4");
 
   await fetchAndLoad(videosb, "avc3/init", [""], ".mp4");
   const p = once(el, "loadeddata");
   await fetchAndLoad(videosb, "avc3/segment", range(1, 2), ".m4s");
   await p;
--- a/dom/media/mediasource/test/test_SeekToEnd_mp4.html
+++ b/dom/media/mediasource/test/test_SeekToEnd_mp4.html
@@ -8,17 +8,16 @@
 </head>
 <body>
 <pre id="test">
 <script class="testbody" type="text/javascript">
 
 SimpleTest.waitForExplicitFinish();
 
 runWithMSE(async (ms, el) => {
-
   await once(ms, "sourceopen");
   ok(true, "Receive a sourceopen event");
   const videosb = ms.addSourceBuffer("video/mp4");
   const audiosb = ms.addSourceBuffer("audio/mp4");
 
   await fetchAndLoad(videosb, "bipbop/bipbop_video", ["init"], ".mp4");
   await fetchAndLoad(videosb, "bipbop/bipbop_video", range(1, 6), ".m4s");
   await fetchAndLoad(audiosb, "bipbop/bipbop_audio", ["init"], ".mp4");
--- a/dom/media/mediasource/test/test_TimestampOffset_mp4.html
+++ b/dom/media/mediasource/test/test_TimestampOffset_mp4.html
@@ -8,17 +8,16 @@
 </head>
 <body>
 <pre id="test">
 <script class="testbody" type="text/javascript">
 
 SimpleTest.waitForExplicitFinish();
 
 runWithMSE(async (ms, el) => {
-
   const eps = 0.01;
 
   await once(ms, "sourceopen");
   ok(true, "Receive a sourceopen event");
   const audiosb = ms.addSourceBuffer("audio/mp4");
   const videosb = ms.addSourceBuffer("video/mp4");
   // We divide the video into 3 chunks:
   // chunk 0: segments 1-4
--- a/dom/presentation/tests/mochitest/PresentationSessionChromeScript1UA.js
+++ b/dom/presentation/tests/mochitest/PresentationSessionChromeScript1UA.js
@@ -221,17 +221,16 @@ const mockRequestUIGlue = {
     return this.QueryInterface(aIID);
   },
   sendRequest(aUrl, aSessionId) {
     return this.promise;
   },
 };
 
 function initMockAndListener() {
-
   function registerMockFactory(contractId, mockClassId, mockFactory) {
     var originalClassId, originalFactory;
 
     var registrar = Cm.QueryInterface(Ci.nsIComponentRegistrar);
     if (!registrar.isCIDRegistered(mockClassId)) {
       try {
         originalClassId = registrar.contractIDToCID(contractId);
         originalFactory = Cm.getClassObject(Cc[contractId], Ci.nsIFactory);
@@ -329,17 +328,16 @@ function initMockAndListener() {
     debug("Got observer: setup-request-promise");
     Services.obs.removeObserver(setupRequestPromiseHandler, aTopic);
     mockRequestUIGlue.promise = aSubject;
     sendAsyncMessage("promise-setup-ready");
   }, "setup-request-promise");
 }
 
 function teardown() {
-
   function registerOriginalFactory(contractId, mockedClassId, mockedFactory, originalClassId, originalFactory) {
     if (originalFactory) {
       var registrar = Cm.QueryInterface(Ci.nsIComponentRegistrar);
       registrar.unregisterFactory(mockedClassId, mockedFactory);
       registrar.registerFactory(originalClassId, "", contractId, originalFactory);
     }
   }
 
--- a/dom/presentation/tests/mochitest/test_presentation_1ua_sender_and_receiver.js
+++ b/dom/presentation/tests/mochitest/test_presentation_1ua_sender_and_receiver.js
@@ -21,17 +21,16 @@ const TYPED_DATA_ARRAY