Bug 961665 - Fix typo in CrashManager's use of OS.File. r=gps
☠☠ backed out by f547db6d8bc8 ☠ ☠
authorDavid Rajchenbach-Teller <dteller@mozilla.com>
Thu, 13 Mar 2014 09:50:24 -0400
changeset 191675 720962c9f993403a96e9869e00ec11c422c7f7fa
parent 191674 c64ce8e54e04a0b73712a7d1492bbea325e8a13b
child 191676 1fd26e822e737317d63cfa135a5c86fd7386b63d
push id474
push userasasaki@mozilla.com
push dateMon, 02 Jun 2014 21:01:02 +0000
treeherdermozilla-release@967f4cf1b31c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs961665
milestone30.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 961665 - Fix typo in CrashManager's use of OS.File. r=gps
toolkit/components/crashes/CrashManager.jsm
--- a/toolkit/components/crashes/CrashManager.jsm
+++ b/toolkit/components/crashes/CrashManager.jsm
@@ -590,17 +590,17 @@ CrashStore.prototype = Object.freeze({
         v: 1,
         crashes: new Map(),
         corruptDate: null,
       };
       this._countsByDay = new Map();
 
       try {
         let decoder = new TextDecoder();
-        let data = yield OS.File.read(this._storePath, null, {compression: "lz4"});
+        let data = yield OS.File.read(this._storePath, {compression: "lz4"});
         data = JSON.parse(decoder.decode(data));
 
         if (data.corruptDate) {
           this._data.corruptDate = new Date(data.corruptDate);
         }
 
         // actualCounts is used to validate that the derived counts by
         // days stored in the payload matches up to actual data.