When the browser session is remote controlled, a visual cue is
shown to the user by turning the background of the address bar
striped yellow. This is to warn the user that it is not safe to
use this session for any sensitive browsing.
With the relatively recent addition of the tracking protection icon
to the far-most left of the address bar, the orange background is
broken off by the white background of the identities box. This gives
a slight inconsistency when the browser is under remote controlled
(i.e. when --marionette is passed).
This patch removes the white background of the identities box so
that the striped orange background covers the entire surface of
the address bar. This gives a slightly more coherent visual impression.
Differential Revision: https://phabricator.services.mozilla.com/D40037
--HG--
extra : moz-landing-system : lando
We don't need this margin since the layout of the identity icon has been
updated. And we change the 'margin-inline-end' to make the spaces
between magnifying glass icon balanced.
Differential Revision: https://phabricator.services.mozilla.com/D39976
--HG--
extra : moz-landing-system : lando
This patch replaces the fake tracker numbers with the real data from the
TrackingDBService. We will pre-fetch the counter while hovering on the
shield icon in order to avoid a flicker on updating the counter. And we
make the tracker counter be hidden by default, then display it when
there is at least one record. We also add a css transition for
avoiding the flicker.
In addition, we rename some member variable in gProtectionsHandler.
Differential Revision: https://phabricator.services.mozilla.com/D39695
--HG--
extra : moz-landing-system : lando
This patch implements the tooltip for showing the earliest date of the
block tracker record. The tooltip will be set during the initiation
gProtectionHandler module. And it will be updated if history has been
cleared. If there is no record, we won't do anyhting since the tracker
counter will be hidden entirely.
We also add an event handler for the hovar and focus state on the shield
icon in order to pre-fetch the data from tracking database. And we will
update the date here in case that there is no record during initition
but a new record comes later. The focus event is for the keyboard
navigation feature.
Differential Revision: https://phabricator.services.mozilla.com/D39694
--HG--
extra : moz-landing-system : lando
This patch adds two strings, one for the blocked tracker counter and
another for the tooltip.
Differential Revision: https://phabricator.services.mozilla.com/D39693
--HG--
extra : moz-landing-system : lando
This patch makes changes to the protection setting button and the footer
section. First, it moves the protection setting button into the footer
section. Second, it updates styles of footer section. And then, it
changes the hover state of buttons.
In addition, it adds a new function in gProtectionsHandler in order to
open the 'about:protections' page when clicking the 'Show report' button.
Differential Revision: https://phabricator.services.mozilla.com/D39692
--HG--
extra : moz-landing-system : lando
With the current code, if any event handler throws, `_processing` remains
true, and every subsequent event goes into an infinite loop dispatching 0ms
timeouts to run on the next tick.
Differential Revision: https://phabricator.services.mozilla.com/D39931
--HG--
extra : moz-landing-system : lando
This way, screen reader users can more easily browse all content provided by the What's New sections. Otherwise, only the buttons would be read, and screen reader users would have to use cumbersome navigation techniques to get to the rest of the contents.
This patch adds an WAI-ARIA role "document" to the container, which only changes screen reader behavior, but has otherwise no effect on styling or browser behavior.
Differential Revision: https://phabricator.services.mozilla.com/D39887
--HG--
extra : moz-landing-system : lando
Having these files in their final packaged locations creates problems when
we expose them to localizations.
Differential Revision: https://phabricator.services.mozilla.com/D39872
--HG--
extra : moz-landing-system : lando
When privacy.spoof_english = 2, we should hide the user's
locale in content. So we use en-US default strings for HTML
form elements, such as a Submit button.
We also force GetLocalizedEllipsis() to always return the
ellipsis used by en-US.
Differential Revision: https://phabricator.services.mozilla.com/D35815
--HG--
extra : moz-landing-system : lando
This code now became obsolete and broken with the autocomplete popup being anchored to the textbox instead of the textbox inner input.
Differential Revision: https://phabricator.services.mozilla.com/D39794
--HG--
extra : moz-landing-system : lando
We need to update the test since '#tracking-protection-icon-container'
is accessible before the '#identity-box'.
Differential Revision: https://phabricator.services.mozilla.com/D39330
--HG--
extra : moz-landing-system : lando
This patch fixes the issue that the keyboard navigation doesn't work for
the tracking protection icon.
Differential Revision: https://phabricator.services.mozilla.com/D39329
--HG--
extra : moz-landing-system : lando
This change adds functionality for the new command line argument, --fxr. This
will be used to create a new, separate browser window for Firefox Reality on
desktop.
Differential Revision: https://phabricator.services.mozilla.com/D37957
--HG--
extra : moz-landing-system : lando