From d7389b9842c97fdee228f907261ac988f22f998e Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Fri, 9 Jan 2015 09:53:34 +1100 Subject: [PATCH] Bug 1119104 - add a migration=sync11 query param when about:accounts is opened via migration flow. r=adw --- services/sync/modules/FxaMigrator.jsm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/sync/modules/FxaMigrator.jsm b/services/sync/modules/FxaMigrator.jsm index 863982732da..e59154098e9 100644 --- a/services/sync/modules/FxaMigrator.jsm +++ b/services/sync/modules/FxaMigrator.jsm @@ -387,6 +387,8 @@ Migrator.prototype = { // See if we can find a default account name to use. let email = yield this._getDefaultAccountName(sentinel); let tail = email ? "&email=" + encodeURIComponent(email) : ""; + // A special flag so server-side metrics can tell this is part of migration. + tail += "&migration=sync11"; // We want to ask FxA to offer a "Customize Sync" checkbox iff any engines // are disabled. let customize = !this._allEnginesEnabled();