Bug 1253120 followup2 - comment-only changes to clarify how UITour-lib validates URL params. r=me
authorMark Hammond <mhammond@skippinet.com.au>
Mon, 07 Mar 2016 10:07:13 +1100
changeset 325221 a83cd998213ed64f8c0b0ee06410c12c166a09f8
parent 325220 b6acf4d4fc20431a8ae14bf32cdc6e43a9c0f9ad
child 325222 6f37ab432cf08ea6d729161d205d686ffacbff0b
push id1128
push userjlund@mozilla.com
push dateWed, 01 Jun 2016 01:31:59 +0000
treeherdermozilla-release@fe0d30de989d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1253120
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1253120 followup2 - comment-only changes to clarify how UITour-lib validates URL params. r=me
browser/components/uitour/UITour-lib.js
--- a/browser/components/uitour/UITour-lib.js
+++ b/browser/components/uitour/UITour-lib.js
@@ -235,19 +235,19 @@ if (typeof Mozilla == 'undefined') {
   };
 
   /**
    * Request the browser open the Firefox Accounts page.
    *
    * @param {Object} extraURLCampaignParams - An object containing additional
    * paramaters for the URL opened by the browser for reasons of promotional
    * campaign tracking. Each attribute of the object must have a name that
-   * begins with "utm_" and a value that is a string that contains only only
-   * alphanumeric characters, dashes or underscores. The values may be any
-   * string and will automatically be encoded.
+   * is a string, begins with "utm_" and contains only only alphanumeric
+   * characters, dashes or underscores. The values may be any string and will
+   * automatically be encoded.
    */
   Mozilla.UITour.showFirefoxAccounts = function(extraURLCampaignParams) {
     _sendEvent('showFirefoxAccounts', {
       extraURLCampaignParams: JSON.stringify(extraURLCampaignParams),
     });
   };
 
   Mozilla.UITour.resetFirefox = function() {