Skip to content

Commit 862ebed

Browse files
committed
Bug 1827730 - Don't specify the cookie banner reduction panel header in the markup and let it be created by PanelMultiView.jsm r=emilio
Specifically, here: https://searchfox.org/mozilla-central/rev/ad732108b073742d7324f998c085f459674a6846/browser/components/customizableui/PanelMultiView.jsm#1403-1457 Differential Revision: https://phabricator.services.mozilla.com/D175286
1 parent b52f7d7 commit 862ebed

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

browser/components/controlcenter/content/protectionsPanel.inc.xhtml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -402,18 +402,6 @@
402402
class="PanelUI-subView"
403403
role="document"
404404
data-l10n-id="protections-panel-cookie-banner-view-title">
405-
<box class="panel-header">
406-
<toolbarbutton class="subviewbutton subviewbutton-iconic subviewbutton-back"
407-
data-l10n-id="protections-panel-cookie-banner-view-go-back"
408-
closemenu="none"
409-
tabindex="0"
410-
oncommand="gProtectionsHandler._protectionsPopupMultiView.goBack();">
411-
<image class="toolbarbutton-icon"></image>
412-
<label class="toolbarbutton-text" crop="right" flex="1"></label>
413-
</toolbarbutton>
414-
<h1><span data-l10n-id="protections-panel-cookie-banner-handling-header"></span></h1>
415-
</box>
416-
<toolbarseparator />
417405
<vbox id="protections-popup-cookieBannerView-heading"
418406
class="protections-popup-description protections-popup-cookiesView-list-section">
419407
<description id="cookieBannerView-disable-site" data-l10n-id="protections-panel-cookie-banner-view-turn-off-for-site" data-l10n-args='{"host":""}'></description>

browser/locales/en-US/browser/protectionsPanel.ftl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ protections-panel-cookie-banner-handling-undetected = Site currently not support
121121
122122
protections-panel-cookie-banner-view-title =
123123
.title = Cookie Banner Reduction
124-
protections-panel-cookie-banner-view-go-back =
125-
.aria-label = Back
126124
# Variables
127125
# $host (String): the hostname of the site that is being displayed.
128126
protections-panel-cookie-banner-view-turn-off-for-site = Turn off Cookie Banner Reduction for { $host }?

0 commit comments

Comments
 (0)