Bug 1455707: Detect when running an older version than previously ran with the selected profile. r=froydnj, r=mconley, r=Gijs
authorDave Townsend <dtownsend@oxymoronical.com>
Wed, 30 Jan 2019 14:56:30 -0800
changeset 11068 03168906c617
parent 11067 23f91286a160
child 11069 c8da07e3a562
push id115
push userfrancesco.lodolo@mozillaitalia.org
push dateThu, 31 Jan 2019 10:46:22 +0000
reviewersfroydnj, mconley, Gijs
bugs1455707, 1523725
Bug 1455707: Detect when running an older version than previously ran with the selected profile. r=froydnj, r=mconley, r=Gijs Use the information in compatibility.ini to detect that the current running application is an older version than previously ran with the profile and in that case open a UI allowing the user to launch the profile manager, launch the previous instance of the application or quit. Also includes the patch from bug 1523725. X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 250089b693374edda20126b5ae7f6e7dd282c817 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: 69a3d7c8d04bb6959e105b0c46d0aed4dda85ad9 X-Channel-Repo: releases/mozilla-release X-Channel-Revision: c2fca1944d8c54d01a5e2d7e13d965e4a6597307
toolkit/chrome/mozapps/profile/profileDowngrade.dtd
new file mode 100644
--- /dev/null
+++ b/toolkit/chrome/mozapps/profile/profileDowngrade.dtd
@@ -0,0 +1,20 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<!-- LOCALIZATION NOTE:
+ This UI can be most easily shown by modifying the version in compatibility.ini
+ to a newer version and then starting Firefox.
+ For this feature, "installation" is used to mean "this discrete download of
+ Firefox" and "version" is used to mean "the specific revision number of a
+ given Firefox channel". These terms are not synonymous.
+-->
+<!ENTITY window.title "You’ve launched an older version of Firefox">
+<!ENTITY window.style "width: 490px;">
+
+<!ENTITY window.nosync "Using an older version of Firefox can corrupt bookmarks and browsing history already saved to an existing Firefox profile. To protect your information, create a new profile for this installation of &brandShortName;.">
+<!ENTITY window.sync "Using an older version of Firefox can corrupt bookmarks and browsing history already saved to an existing Firefox profile. To protect your information, create a new profile for this installation of &brandShortName;. You can always sign in with a &syncBrand.fxAccount.label; to sync your bookmarks and browsing history between profiles.">
+
+<!ENTITY window.create "Create New Profile">
+<!ENTITY window.quit-win "Exit">
+<!ENTITY window.quit-nonwin "Quit">