Bug 1406818 - about:profile uses nsIToolkitProfile.removeInBackground, r=ehsan
authorAndrea Marchesini <amarchesini@mozilla.com>
Fri, 13 Oct 2017 08:47:41 +0200
changeset 386121 322dbb6b6736339695b8be2f8043ba4c7ee9e140
parent 386120 eeb89284500e2756eec978be2d4233b3411aa4ca
child 386122 6f968efadcdc0e14007e84b1b36d08351c6ccc9e
push id32676
push userarchaeopteryx@coole-files.de
push dateFri, 13 Oct 2017 21:38:18 +0000
treeherdermozilla-central@a31334a65a1c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs1406818
milestone58.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 1406818 - about:profile uses nsIToolkitProfile.removeInBackground, r=ehsan
toolkit/content/aboutProfiles.js
--- a/toolkit/content/aboutProfiles.js
+++ b/toolkit/content/aboutProfiles.js
@@ -286,17 +286,17 @@ function removeProfile(profile) {
       if (isDefault) {
         ProfileService.defaultProfile = p;
       }
 
       break;
     }
   }
 
-  profile.remove(deleteFiles);
+  profile.removeInBackground(deleteFiles);
   ProfileService.flush();
   refreshUI();
 }
 
 function defaultProfile(profile) {
   ProfileService.defaultProfile = profile;
   ProfileService.selectedProfile = profile;
   ProfileService.flush();