Bug 1601784 - Use a built-in "Learn More" link instead of custom nodes for the storage access prompt. r=ewright

Differential Revision: https://phabricator.services.mozilla.com/D56553
This commit is contained in:
Johann Hofmann
2019-12-11 10:08:19 +00:00
parent 2aa84952f7
commit 9d1558101e
3 changed files with 7 additions and 54 deletions

View File

@@ -117,18 +117,3 @@
</vbox>
</popupnotificationfooter>
</popupnotification>
<popupnotification id="storage-access-notification" hidden="true">
<popupnotificationcontent class="storage-access-notification-content">
<xul:vbox flex="1">
<!-- These need to be on the same line to avoid creating
whitespace between them (whitespace is added in the
localization file, if necessary). -->
<xul:description class="storage-access-perm-text"><html:span
id="storage-access-perm-label"/><html:a id="storage-access-perm-learnmore"
onclick="openTrustedLinkIn(this.href, 'tab'); return false;"
class="text-link popup-notification-learnmore-link"/><html:span
id="storage-access-perm-endlabel"/></xul:description>
</xul:vbox>
</popupnotificationcontent>
</popupnotification>