Bug 1550122 - Fix eslint in browser_loginItemErrors.js
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Fri, 30 Aug 2019 05:54:12 +0000
changeset 551331 fc86ab102993f61d379884a7348391cdc34d32ae
parent 551330 55e76049ef99981e5db11ec99bc9ef36af8d6fe1
child 551332 514f732deb3081429743d8c58902c7f94921f728
push id11865
push userbtara@mozilla.com
push dateMon, 02 Sep 2019 08:54:37 +0000
treeherdermozilla-beta@37f59c4671b3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1550122
milestone70.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 1550122 - Fix eslint in browser_loginItemErrors.js Differential Revision: https://phabricator.services.mozilla.com/D44108
browser/components/aboutlogins/tests/browser/browser_loginItemErrors.js
--- a/browser/components/aboutlogins/tests/browser/browser_loginItemErrors.js
+++ b/browser/components/aboutlogins/tests/browser/browser_loginItemErrors.js
@@ -102,17 +102,17 @@ add_task(async function test_showLoginIt
       );
 
       const editButton = loginItem.shadowRoot.querySelector(".edit-button");
       editButton.click();
 
       const updateEvent = Cu.cloneInto(
         {
           bubbles: true,
-          detail: Object.assign({guid: loginToUpdate.guid}, loginUpdates),
+          detail: Object.assign({ guid: loginToUpdate.guid }, loginUpdates),
         },
         content
       );
 
       content.dispatchEvent(
         // attempt to update LOGIN_TO_UPDATE to a username/origin combination that already exists.
         new content.CustomEvent("AboutLoginsUpdateLogin", updateEvent)
       );