Bug 1397757 Add Learn More link for the Canvas Permission Prompt r?johannh draft
authorTom Ritter <tom@mozilla.com>
Mon, 26 Mar 2018 23:27:39 -0500
changeset 773802 284ebd337ee99e8682c8e8d6b8ab827901c8f8a0
parent 773588 216da775bde9d33656b65a9a2ea0ca47ff2c6b2d
child 774582 7b324719996a94fc15afa33ac8bf52847466e85b
push id104311
push userbmo:tom@mozilla.com
push dateWed, 28 Mar 2018 14:55:18 +0000
reviewersjohannh
bugs1397757
milestone61.0a1
Bug 1397757 Add Learn More link for the Canvas Permission Prompt r?johannh MozReview-Commit-ID: 5pR8VAmFwqM
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -6748,16 +6748,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",