Bug 1189842 - Change sync post-login page (about:accounts) to instead direct to account:preferences#sync. r=markh

--HG--
extra : histedit_source : cbe489b67d6230fcc8cd98dfc9fe5d03dc4020c6
This commit is contained in:
Edouard Oger 2015-08-13 08:38:10 -07:00
Родитель 543ca99816
Коммит e2162bcd09
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -186,7 +186,7 @@ let wrapper = {
// If the user data is verified, we want it to immediately look like // If the user data is verified, we want it to immediately look like
// they are signed in without waiting for messages to bounce around. // they are signed in without waiting for messages to bounce around.
if (accountData.verified) { if (accountData.verified) {
show("stage", "manage"); openPrefs();
} }
this.injectData("message", { status: "login" }); this.injectData("message", { status: "login" });
// until we sort out a better UX, just leave the jelly page in place. // until we sort out a better UX, just leave the jelly page in place.

Просмотреть файл

@ -38,6 +38,8 @@ let gTests = [
{ {
desc: "Test the remote commands", desc: "Test the remote commands",
teardown: function* () { teardown: function* () {
// We remove 2 tabs because when the user is logged-in the sync pref page opens.
gBrowser.removeCurrentTab();
gBrowser.removeCurrentTab(); gBrowser.removeCurrentTab();
yield fxAccounts.signOut(); yield fxAccounts.signOut();
}, },