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

This commit is contained in:
Edouard Oger 2015-08-13 08:38:10 -07:00
parent 3065331ac9
commit cd6628e9c2
2 changed files with 3 additions and 1 deletions

View File

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

View File

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