Bug 1400675 - Fix reference to undefined property FirsRunURL r=gfritzsche
authorTobias Markus <tobbi.bugs@googlemail.com>
Mon, 18 Sep 2017 11:01:37 +0200
changeset 666669 84bc19f5cbe5f038f7a60ed75563c7c5a1f0e0ea
parent 666668 716be9d0b6e0bacaec3f398693e13f68c6460e52
child 666670 5a8ddb2b2088c1d4f47f763ce3547506b8a5f9aa
push id80486
push userbmo:tlin@mozilla.com
push dateTue, 19 Sep 2017 03:52:30 +0000
reviewersgfritzsche
bugs1400675
milestone57.0a1
Bug 1400675 - Fix reference to undefined property FirsRunURL r=gfritzsche MozReview-Commit-ID: ACfUm7KqWuY
toolkit/components/telemetry/TelemetryReportingPolicy.jsm
--- a/toolkit/components/telemetry/TelemetryReportingPolicy.jsm
+++ b/toolkit/components/telemetry/TelemetryReportingPolicy.jsm
@@ -425,17 +425,17 @@ var TelemetryReportingPolicyImpl = {
   /**
    * Try to open the privacy policy in a background tab instead of showing the infobar.
    */
   _openFirstRunPage() {
     if (!this._shouldNotify()) {
       return false;
     }
 
-    let firstRunPolicyURL = Services.prefs.getStringPref(TelemetryUtils.Preferences.FirsRunURL, "");
+    let firstRunPolicyURL = Services.prefs.getStringPref(TelemetryUtils.Preferences.FirstRunURL, "");
     if (!firstRunPolicyURL) {
       return false;
     }
     firstRunPolicyURL = Services.urlFormatter.formatURL(firstRunPolicyURL);
 
     let win;
     try {
       const { RecentWindow } = Cu.import("resource:///modules/RecentWindow.jsm", {});