Backed out changeset f51248231d0e (bug 1397818) for linting failures in Sanitizer.jsm a=backout
authorWes Kocher <wkocher@mozilla.com>
Mon, 11 Sep 2017 14:29:42 -0700
changeset 429639 db9a3beb83849e3ab2527df6630679f4a38e7c5a
parent 429638 0ef39e821b67496cfb9e29de90367952e1a5174f
child 429640 0a058c19c23507038bf2a1c830ddc34ca90fb578
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1397818
milestone57.0a1
backs outf51248231d0ee838862a33ffacce06612e284bd8
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
Backed out changeset f51248231d0e (bug 1397818) for linting failures in Sanitizer.jsm a=backout MozReview-Commit-ID: AcRgH0NjTGB
mobile/android/modules/Sanitizer.jsm
--- a/mobile/android/modules/Sanitizer.jsm
+++ b/mobile/android/modules/Sanitizer.jsm
@@ -36,26 +36,26 @@ Sanitizer.prototype = {
   clearItem: function(aItemName, startTime) {
     // Only a subset of items support deletion with startTime.
     // Those who do not will be rejected with error message.
     if (typeof startTime != "undefined") {
       switch (aItemName) {
         // Normal call to DownloadFiles remove actual data from storage, but our web-extension consumer
         // deletes only download history. So, for this reason we are passing a flag 'deleteFiles'.
         case "downloadHistory":
-          return this._clear("downloadFiles", { startTime, deleteFiles: false });
+          this._clear("downloadFiles", { startTime, deleteFiles: false });
           break;
         case "formdata":
-          return this._clear(aItemName, { startTime });
+          this._clear(aItemName, { startTime });
           break;
         default:
           return Promise.reject({message: `Invalid argument: ${aItemName} does not support startTime argument.`});
       }
     } else {
-      return this._clear(aItemName);
+      this._clear(aItemName);
     }
   },
 
  _clear: function(aItemName, options) {
     let item = this.items[aItemName];
     let canClear = item.canClear;
     if (typeof canClear == "function") {
       canClear(function clearCallback(aCanClear) {