Bug 1397757 Add Learn More link for the Canvas Permission Prompt r=johannh
authorTom Ritter <tom@mozilla.com>
Mon, 26 Mar 2018 23:27:39 -0500
changeset 410666 a6fba6948018606931d31509773c40f83d9c7396
parent 410665 9ac9d64f983563909721836f971048d13bf3f6af
child 410667 0473a11b473458cb9b90002f366f1664ea4f23e9
push id61932
push userryanvm@gmail.com
push dateThu, 29 Mar 2018 19:16:14 +0000
treeherderautoland@a6fba6948018 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjohannh
bugs1397757
milestone61.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 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
@@ -6777,16 +6777,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",