Bug 1400675 - Fix reference to undefined property FirsRunURL r?gfritzsche draft bug1400675
authorTobias Markus <tobbi.bugs@googlemail.com>
Mon, 18 Sep 2017 11:01:37 +0200
branchbug1400675
changeset 666232 dc826c1959d72c88ecec50a99c5e01422dfa1579
parent 666088 0408418cdef3a7ed4f72cdaaf5540b07b70021fd
child 732027 6a940f5d09fda7c60e0a27c438c1802004a8a246
push id80327
push userbmo:tobbi.bugs@googlemail.com
push dateMon, 18 Sep 2017 09:14:54 +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", {});