Bug 1528252: about:profiles should restart into the same profile rather than allowing profile selection to re-run. r=Gijs
authorDave Townsend <dtownsend@oxymoronical.com>
Wed, 06 Mar 2019 17:56:56 +0000
changeset 520545 1bc91e8030f2
parent 520544 351c542d6e45
child 520546 7b44e98a5576
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1528252
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1528252: about:profiles should restart into the same profile rather than allowing profile selection to re-run. r=Gijs Differential Revision: https://phabricator.services.mozilla.com/D22340
toolkit/content/aboutProfiles.js
--- a/toolkit/content/aboutProfiles.js
+++ b/toolkit/content/aboutProfiles.js
@@ -316,17 +316,17 @@ function restart(safeMode) {
   let cancelQuit = Cc["@mozilla.org/supports-PRBool;1"]
                      .createInstance(Ci.nsISupportsPRBool);
   Services.obs.notifyObservers(cancelQuit, "quit-application-requested", "restart");
 
   if (cancelQuit.data) {
     return;
   }
 
-  let flags = Ci.nsIAppStartup.eAttemptQuit | Ci.nsIAppStartup.eRestartNotSameProfile;
+  let flags = Ci.nsIAppStartup.eAttemptQuit | Ci.nsIAppStartup.eRestart;
 
   if (safeMode) {
     Services.startup.restartInSafeMode(flags);
   } else {
     Services.startup.quit(flags);
   }
 }