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 192349 ff1925aa6f85
parent 192348 2925e9a0a33d
child 192350 05baa07365d9
push id3577
push userryanvm@gmail.com
push date2014-05-21 13:10 +0000
treeherdermozilla-beta@ff1925aa6f85 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrnewman, sledru
bugs959356
milestone30.0
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
@@ -450,17 +450,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,
@@ -493,16 +493,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));
       }