зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
543ca99816
Коммит
e2162bcd09
|
@ -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();
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче