Bug 959356 - Fix the spelling and type of the isWow64 measurement. r=rnewman, a=sledru
authorBenjamin Smedberg <benjamin@smedbergs.us>
Mon, 19 May 2014 14:02:04 -0400
changeset 200337 09da70ff07b821ad1b3bb457a81d736a5b3af298
parent 200336 d71874cd9efaf0571e003c11c65f554427118f82
child 200338 da83ebcf20998efb33f0f6a67050f56ba2f78b37
push id486
push userasasaki@mozilla.com
push dateMon, 14 Jul 2014 18:39:42 +0000
treeherdermozilla-release@d33428174ff1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrnewman, sledru
bugs959356
milestone31.0a2
Bug 959356 - Fix the spelling and type of the isWow64 measurement. r=rnewman, a=sledru
services/healthreport/providers.jsm
--- a/services/healthreport/providers.jsm
+++ b/services/healthreport/providers.jsm
@@ -445,17 +445,17 @@ SysInfoProvider.prototype = Object.freez
     cpucount: "cpuCount",
     memsize: "memoryMB",
     manufacturer: "manufacturer",
     device: "device",
     hardware: "hardware",
     name: "name",
     version: "version",
     arch: "architecture",
-    isWOW64: "isWow64",
+    isWow64: "isWow64",
   },
 
   collectConstantData: function () {
     return this.storage.enqueueTransaction(this._populateConstants.bind(this));
   },
 
   _populateConstants: function () {
     let m = this.getMeasurement(SysInfoMeasurement.prototype.name,
@@ -488,16 +488,17 @@ SysInfoProvider.prototype = Object.freez
           case "memsize":
             // Round memory to mebibytes.
             value = Math.round(value / 1048576);
             break;
           case "isWow64":
             // Property is only present on Windows. hasKey() skipping from
             // above ensures undefined or null doesn't creep in here.
             value = value ? 1 : 0;
+            method = "setLastNumeric";
             break;
         }
 
         yield m[method](v, value);
       } catch (ex) {
         this._log.warn("Error obtaining system info field: " + k + " " +
                        CommonUtils.exceptionStr(ex));
       }