Focus-android: "Trackers blocked" re-enable only re-enables social trackers blocked

Created on 6 Aug 2018  路  4Comments  路  Source: mozilla-mobile/focus-android

Summary

Possibly a cache issue? Only social trackers are blocked when re-enabling "Trackers blocked".
After app restart, however, all trackers show as being blocked. User shouldn't have to restart the app to fully re-enable "Trackers blocked" toggle.

Steps to reproduce

  1. Open fmarier's tracking protection (TP) test page URL: https://mozilla.github.io/tracking-test/disconnect.html
  2. Verify that orange (TP enabled) fox is visible with STOP sign and status listed as:
    Ads: correctly blocked
    Analytics: correctly blocked
    Social: correctly blocked
  3. Click on 3-dot menu > Disable "Trackers blocked"
  4. Verify that (TP disabled) black cat is visible and status listed as:
    Ads: incorrectly loaded
    Analytics: incorrectly loaded
    Social: incorrectly loaded
  5. Click on 3-dot menu > re-enable "Trackers blocked"

Expected behavior

  1. Verify that all categories of TP are re-enabled aka:

orange (TP enabled) fox is visible again with STOP sign and status listed as:
Ads: correctly blocked
Analytics: correctly blocked
Social: correctly blocked

Actual behavior

  1. Observe that _only_ social category is re-enabled aka:

    (TP disabled) black cat is visible and status listed as:
    Ads: incorrectly loaded
    Analytics: incorrectly loaded
    Social: correctly blocked

  2. Re-start Focus app
    Verify that all categories of TP are re-enabled aka:

orange (TP enabled) fox is visible again with STOP sign and status listed as:
Ads: correctly blocked
Analytics: correctly blocked
Social: correctly blocked

Screenshots

Trackers blocked - ENABLED
image

Trackers blocked - DISABLED
image

Trackers blocked - RE-ENABLED
image

Device information

  • Android device: Nexus 6P, ver. 8.0.0, API 26
  • Focus version: 6.3
bug testing

Most helpful comment

@sblatz I would think so since Webview will be our most used engine for at least a few months.

All 4 comments

Is this in the debug build or release build?

Confirmed this occurs on release build as well. I will investigate / own this ticket :)

This is actually only an issue in WebView and does not exist in GeckoView.

cc: @bbinto, @Sdaswani to determine if this is still a priority.

@sblatz I would think so since Webview will be our most used engine for at least a few months.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

st3fan picture st3fan  路  5Comments

pocmo picture pocmo  路  7Comments

pocmo picture pocmo  路  4Comments

brampitoyo picture brampitoyo  路  5Comments

facyber picture facyber  路  4Comments