Closed Bug 1714407 Opened 3 years ago Closed 3 years ago

Fix the signals sent to the anti-tracking UI when we shim or unblock requests

Categories

(Core :: Privacy: Anti-Tracking, defect)

defect

Tracking

()

VERIFIED FIXED
91 Branch
Tracking Status
firefox89 --- unaffected
firefox90 --- verified
firefox91 --- verified

People

(Reporter: twisniewski, Assigned: twisniewski)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

The fix in bug 1712562 crossed some proverbial wires, and the UI is not consistently informed when a given request has been unblocked by a user opt-in. The fix is straightforward.

Regressed by: 1712562
Has Regression Range: --- → yes

Three changes here:

  • fix the experimental API to check for the "allow" case first, then the "replace" signal
  • update the JSON config for the two opt-in shims so they know to also mark the relevant requests as allowed, not just replaced/shimmed
  • remove a pointless (unused) unblocksOnOptIn line
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED

Comment on attachment 9225026 [details]
Bug 1714407 - fix a regression caused by bug 1714407 where SmartBlock does not always properly inform the anti-tracking UI when users opt into allowing specific content; r?pbz,ksenia

Beta/Release Uplift Approval Request

  • User impact if declined: Users who specifically investigate which tracker domains are being blocked on a given private browsing/strict ETP tab will not consistently see which trackers they have opted into allowing by using SmartBlock.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: 1) open a new private browsing tab.
  1. visit https://www.patreon.com/login
  2. click on the "continue with Facebook" login button (the popup window may be closed afterward)
  3. click on the Firefox Shield icon in the URL bar
  4. confirm that in the "tracking content" section, there are blue icons:
    a) at the top of the section, next to text like "some trackers have been unblocked"
    b) beside the connect.facebook.com URL in the list below
  5. Reload the same Patreon login tab
  6. repeat step 5, confirm the blue icons are still present (the list of URLs may be slightly different).
  • List of other uplifts needed: Bug 1714180
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Low risk, as this change only affects SmartBlock, and only when users specifically opt into allowing certain trackers.

QE testing is optional, as these STR are being added to our QE test-plan for SmartBlock releases (including of PI-1033 in JIRA for Fx90). A local build has been tested with these STR, and behaves as expected.

  • String changes made/needed: none
Attachment #9225026 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Pushed by twisniewski@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bf8aca33c53a
fix a regression caused by bug 1714407 where SmartBlock does not always properly inform the anti-tracking UI when users opt into allowing specific content; r=pbz,ksenia,webcompat-reviewers
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
QA Whiteboard: [qa-triaged]

Set release status flags based on info from the regressing bug 1712562

Verified as fixed on Firefox 91.0a1 (2021-06-04) on Windows 10 x64, macOS 10.15 and on Ubuntu 20.04.

Comment on attachment 9225026 [details]
Bug 1714407 - fix a regression caused by bug 1714407 where SmartBlock does not always properly inform the anti-tracking UI when users opt into allowing specific content; r?pbz,ksenia

approved for 90.0b5

Attachment #9225026 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Verified as fixed on Firefox 90.0b5 on Windows 10 x64, macOS 10.15 and on Ubuntu 20.04.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: