This patch adds two more checks for the icon state in the current TP
switch flow test.
Differential Revision: https://phabricator.services.mozilla.com/D40177
--HG--
extra : moz-landing-system : lando
This patch makes the blue dot to be shown when the tracking protection
is disabled. And this updates the style of the blue dot on the TP switch
to match the spec.
Differential Revision: https://phabricator.services.mozilla.com/D40175
--HG--
extra : moz-landing-system : lando
Set the 'aria-label' to the tracking protection icon container in order
to support the accessibility. We need this here since the accessiblity
won't automatically get the <tooltip> element here,
Differential Revision: https://phabricator.services.mozilla.com/D40417
--HG--
extra : moz-landing-system : lando
This patch modify the way how tooltip works on the tracking protection
icon. We use <tooltip> instead of 'tooltiptext' attribute in order to
limit the width of the tooltip in 500px.
Differential Revision: https://phabricator.services.mozilla.com/D40416
--HG--
extra : moz-landing-system : lando
The security UI receives an about:blank load when navigating to or from
about: pages, which causes it to try and render security indicators before
showing the "real" security indicators for the next site. It shouldn't do that.
The solution is a bit cheap, we simply ignore all about:blank and other loads
that will receive a pageproxystate="invalid" state in the URL bar and thus
hide the identity block. This takes care of our problem and also avoids
some work when loading the home page.
Differential Revision: https://phabricator.services.mozilla.com/D40515
--HG--
extra : moz-landing-system : lando
This is the first step in making it possible to return remote WindowProxy
objects from window.open() and related APIs.
This patch also incidentally fixes a bug where getContentWindowOrOpenURI
returned the top-level browser window rather than the new content window when
passed OPEN_NEWWINDOW for the `aWhere` parameter. This was not the expected
behavior, and was a potentially major footgun for any new users who expected
to always get the content window for the URL they were loading, rather than
sometimes getting a chrome browser window instead.
For now, that case just returns null, which is only a minor footgun, rather
than the major one we had before.
Differential Revision: https://phabricator.services.mozilla.com/D35688
--HG--
extra : moz-landing-system : lando
This removes all telemetry which expired in Firefox 69 or earlier, with the
exceptions of the following, which we plan to renew:
* AUDIO_TRACK_SILENCE_PROPORTION
* MEDIA_AUTOPLAY_WOULD_BE_ALLOWED_COUNT
* MEDIA_AUTOPLAY_WOULD_NOT_BE_ALLOWED_COUNT
* MEDIACACHESTREAM_LENGTH_KB
* MEDIA_MKV_CANPLAY_REQUESTED
* MEDIA_PAGE_COUNT
* MEDIA_PAGE_HAD_MEDIA_COUNT
* VIDEO_DROPPED_FRAMES_PROPORTION
* VIDEO_PLAY_TIME
* VIDEO_HIDDEN_PLAY_TIME
* VIDEO_HIDDEN_PLAY_TIME_PERCENTAGE
* VIDEO_INFERRED_DECODE_SUSPEND_PERCENTAGE
* VIDEO_INTER_KEYFRAME_AVERAGE_MS
* VIDEO_INTER_KEYFRAME_MAX_MS
* VIDEO_SUSPEND_RECOVERY_TIME_MS
* VIDEO_VP9_BENCHMARK_FPS
* WEB_AUDIO_BECOMES_AUDIBLE_TIME
* WEBVTT_TRACK_KINDS
Differential Revision: https://phabricator.services.mozilla.com/D37313
--HG--
extra : moz-landing-system : lando
This removes all telemetry which expired in Firefox 69 or earlier, with the
exceptions of the following, which we plan to renew:
* AUDIO_TRACK_SILENCE_PROPORTION
* MEDIA_AUTOPLAY_WOULD_BE_ALLOWED_COUNT
* MEDIA_AUTOPLAY_WOULD_NOT_BE_ALLOWED_COUNT
* MEDIACACHESTREAM_LENGTH_KB
* MEDIA_MKV_CANPLAY_REQUESTED
* MEDIA_PAGE_COUNT
* MEDIA_PAGE_HAD_MEDIA_COUNT
* VIDEO_DROPPED_FRAMES_PROPORTION
* VIDEO_PLAY_TIME
* VIDEO_HIDDEN_PLAY_TIME
* VIDEO_HIDDEN_PLAY_TIME_PERCENTAGE
* VIDEO_INFERRED_DECODE_SUSPEND_PERCENTAGE
* VIDEO_INTER_KEYFRAME_AVERAGE_MS
* VIDEO_INTER_KEYFRAME_MAX_MS
* VIDEO_SUSPEND_RECOVERY_TIME_MS
* VIDEO_VP9_BENCHMARK_FPS
* WEB_AUDIO_BECOMES_AUDIBLE_TIME
* WEBVTT_TRACK_KINDS
Differential Revision: https://phabricator.services.mozilla.com/D37313
--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 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
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
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 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