From f00c99bc438ef43798f02380d377deebdb413f9f Mon Sep 17 00:00:00 2001 From: Benjamin Smedberg Date: Fri, 4 Apr 2014 09:16:58 -0400 Subject: [PATCH] Bug 985089 followup: fix mis-spelling of isNaN, r=gfritzsche --- browser/experiments/Experiments.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/experiments/Experiments.jsm b/browser/experiments/Experiments.jsm index f4bdf2b4ba7a..f2d2220596ea 100644 --- a/browser/experiments/Experiments.jsm +++ b/browser/experiments/Experiments.jsm @@ -252,7 +252,7 @@ Experiments.Policy.prototype = { if (pref !== undefined) { let val = Number.parseFloat(pref); this._log.debug("random sample forced: " + val); - if (IsNaN(val) || val < 0) { + if (isNaN(val) || val < 0) { return 0; } if (val > 1) {