diff --git a/browser/base/content/browser-fxaccounts.js b/browser/base/content/browser-fxaccounts.js index 85237b64562e..c0f53c2898a3 100644 --- a/browser/base/content/browser-fxaccounts.js +++ b/browser/base/content/browser-fxaccounts.js @@ -447,7 +447,7 @@ let gFxAccounts = { this.openPreferences(); break; default: - this.openAccountsPage(null, { entryPoint: "menupanel" }); + this.openAccountsPage(null, { entrypoint: "menupanel" }); break; } @@ -459,12 +459,12 @@ let gFxAccounts = { }, openAccountsPage: function (action, urlParams={}) { - // An entryPoint param is used for server-side metrics. If the current tab + // An entrypoint param is used for server-side metrics. If the current tab // is UITour, assume that it initiated the call to this method and override - // the entryPoint accordingly. + // the entrypoint accordingly. if (UITour.tourBrowsersByWindow.get(window) && UITour.tourBrowsersByWindow.get(window).has(gBrowser.selectedBrowser)) { - urlParams.entryPoint = "uitour"; + urlParams.entrypoint = "uitour"; } let params = new URLSearchParams(); if (action) { @@ -482,7 +482,7 @@ let gFxAccounts = { }, openSignInAgainPage: function (entryPoint) { - this.openAccountsPage("reauth", { entryPoint: entryPoint }); + this.openAccountsPage("reauth", { entrypoint: entryPoint }); }, }; diff --git a/browser/base/content/test/general/browser_fxaccounts.js b/browser/base/content/test/general/browser_fxaccounts.js index aef181860f69..ed740f31ee46 100644 --- a/browser/base/content/test/general/browser_fxaccounts.js +++ b/browser/base/content/test/general/browser_fxaccounts.js @@ -84,7 +84,7 @@ add_task(function* test_nouser() { Assert.ok(!panelUIFooter.hasAttribute("fxastatus"), "no fxsstatus when signed out"); Assert.ok(!panelUIFooter.hasAttribute("fxaprofileimage"), "no fxaprofileimage when signed out"); - let promiseOpen = promiseTabOpen("about:accounts?entryPoint=menupanel"); + let promiseOpen = promiseTabOpen("about:accounts?entrypoint=menupanel"); panelUIStatus.click(); yield promiseOpen; });