Bug 1397757 Add Learn More link for the Canvas Permission Prompt r=johannh a=jcristau
authorTom Ritter <tom@mozilla.com>
Mon, 26 Mar 2018 23:27:39 -0500
changeset 463013 49d67e0e77a91e6b522985828ca9166fa8e2817f
parent 463012 df8ec314e63760ffcaf6ccef414ea4c534650fe5
child 463014 6e38c6caaba99339451655ac362182e1e1e5fa99
push id1683
push usersfraser@mozilla.com
push dateThu, 26 Apr 2018 16:43:40 +0000
treeherdermozilla-release@5af6cb21869d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjohannh, jcristau
bugs1397757
milestone60.0
Bug 1397757 Add Learn More link for the Canvas Permission Prompt r=johannh a=jcristau MozReview-Commit-ID: 5pR8VAmFwqM
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -6753,16 +6753,17 @@ var CanvasPermissionPromptHelper = {
     if (checkbox.show) {
       checkbox.checked = true;
       checkbox.label = gBrowserBundle.GetStringFromName("canvas.remember");
     }
 
     let options = {
       checkbox,
       name: uri.asciiHost,
+      learnMoreURL: Services.urlFormatter.formatURLPref("app.support.baseURL") + "fingerprint-permission",
     };
     PopupNotifications.show(browser, aTopic, message, this._notificationIcon,
                             mainAction, secondaryActions, options);
   }
 };
 
 var WebAuthnPromptHelper = {
   _icon: "webauthn-notification-icon",