Closed Bug 1646392 Opened 5 years ago Closed 5 years ago

Discrepancy in the amount of tracker blocked between desktop and GV with the same setting

Categories

(GeckoView :: General, defect, P1)

79 Branch
Unspecified
All
defect

Tracking

(firefox80 fixed)

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: amejia, Assigned: droeh, NeedInfo)

Details

Attachments

(8 files)

When using the equivalent to the standard tracking protection setting on desktop and GV, we get quite different results. On desktop when querying the the content blocking logs we get a lot of content blocked while on GV nothing is getting blocked. It seem as they are querying two different sources. The same happens with onContentBlockingEvent.

To simulate the same request for both browsers we changed the user agent ( Mozilla/5.0 (Android 10; Mobile; rv:79.0) Gecko/79.0 Firefox/79.0 ) on desktop and use the responsive design mode.

Related Fenix issue

Settings:

Desktop

  • privacy.trackingprotection.enabled -> false
  • urlclassifier.trackingTable -> moztest-track-simple,ads-track-digest256,social-track-digest256,analytics-track-digest256
  • privacy.socialtracking.block_cookies.enabled -> true
  • privacy.trackingprotection.socialtracking.enabled -> false
  • urlclassifier.features.socialtracking.annotate.blacklistTables -> social-tracking-protection-facebook-digest256,social-tracking-protection-linkedin-digest256,social-tracking-protection-twitter-digest256
  • network.cookie.cookieBehavior -> 4
  • privacy.trackingprotection.annotate_channels -> true
  • privacy.annotate_channels.strict_list.enabled -> true
  • network.cookie.lifetimePolicy -> 0
  • urlclassifier.features.fingerprinting.blacklistTables -> base-fingerprinting-track-digest256
  • privacy.trackingprotection.fingerprinting.enabled -> true
  • urlclassifier.features.cryptomining.blacklistTables -> base-cryptomining-track-digest256
  • privacy.trackingprotection.cryptomining.enabled -> true

gBrowser.selectedBrowser.getContentBlockingLog(); on cnn.com

Multiple content gets blocked.

{ \"https://www.cnn.com\": [[32768, true, 1]], \"https://www.googletagservices.com\": [[8192, true, 1]], \"https://c.amazon-adsystem.com\": [[8192, true, 1]], \"https://agility.cnn.com\": [[32768, true, 1]], \"https://amplify.outbrain.com\": [[8192, true, 1]], \"https://cdn.cnn.com\": [[32768, true, 1]], \"https://bat.bing.com\": [[1048576, true, 1], [32768, true, 1], [536870912, true, 5]], \"https://cdn3.optimizely.com\": [[8192, true, 1]], \"https://a125375509.cdn.optimizely.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 2]], \"https://securepubads.g.doubleclick.net\": [[8192, true, 1], [32768, true, 1], [536870912, true, 12]], \"https://www.i.cdn.cnn.com\": [[32768, true, 1]], \"https://static.yieldmo.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 81]], \"https://static.chartbeat.com\": [[8192, true, 1]], \"https://tag.bounceexchange.com\": [[8192, true, 1]], \"https://static.ads-twitter.com\": [[8192, true, 1], [131072, true, 1]], \"https://tru.am\": [[32768, true, 1]], \"https://connect.facebook.net\": [[8192, true, 1], [131072, true, 3]], \"https://data.cnn.com\": [[32768, true, 1]], \"https://tr.outbrain.com\": [[8192, true, 1]], \"https://amplifypixel.outbrain.com\": [[8192, true, 1]], \"https://assets.bounceexchange.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 5]], \"https://adservice.google.ca\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://adservice.google.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://matchadsrvr.yieldmo.com\": [[8192, true, 1]], \"https://ads.yieldmo.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 10]], \"https://www.facebook.com\": [[8192, true, 1], [32768, true, 1], [131072, true, 1], [16777216, true, 2], [131072, true, 1], [16777216, true, 2], [131072, true, 1], [16777216, true, 2], [131072, true, 1], [16777216, true, 2], [131072, true, 1], [16777216, true, 2]], \"https://sb.scorecardresearch.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 2]], \"https://api.segment.io\": [[8192, true, 1]], \"https://logx.optimizely.com\": [[8192, true, 1]], \"https://secure-us.imrworldwide.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 2]], \"https://t.co\": [[32768, true, 1]], \"https://match.adsrvr.org\": [[8192, true, 1], [32768, true, 1], [536870912, true, 3]], \"https://mab.chartbeat.com\": [[8192, true, 1]], \"https://cnn.bounceexchange.com\": [[8192, true, 1]], \"https://geolocation.onetrust.com\": [[32768, true, 1]], \"https://events.bouncex.net\": [[8192, true, 1]], \"https://healthguides.cnn.com\": [[32768, true, 1]], \"https://analytics.twitter.com\": [[8192, true, 1], [32768, true, 1], [131072, true, 1], [16777216, true, 2], [131072, true, 1], [16777216, true, 2]], \"https://errors.client.optimizely.com\": [[8192, true, 1]], \"https://widgets.outbrain.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 4]], \"https://smetrics.cnn.com\": [[32768, true, 1]], \"https://ping.chartbeat.net\": [[8192, true, 1]], \"https://dpm.demdex.net\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://stags.bluekai.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://cm.g.doubleclick.net\": [[8192, true, 1], [32768, true, 1], [536870912, true, 9]], \"https://bttrack.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://ib.adnxs.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 2]], \"https://sync.mathtag.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://sync.srv.stackadapt.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://rtb.mfadsrvr.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://aa.agkn.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 2]], \"https://px.powerlinks.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://x.bidswitch.net\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://b1sync.zemanta.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://idsync.rlcdn.com\": [[8192, true, 1]], \"https://rtb.adentifi.com\": [[32768, true, 1]], \"https://pixel-us-east.rubiconproject.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"http://contextual.media.net\": [[8192, true, 1]], \"https://s.amazon-adsystem.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 2]], \"https://odb.outbrain.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://contextual.media.net\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://mcdp-sadc1.outbrain.com\": [[8192, true, 1]], \"https://cdn.adsafeprotected.com\": [[8192, true, 1]], \"https://cdn.krxd.net\": [[8192, true, 1]], \"https://bsw.digitru.st\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://pixel.adsafeprotected.com\": [[8192, true, 1]], \"https://fastlane.rubiconproject.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 2]], \"https://as-sec.casalemedia.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://sofia.trustx.org\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://gum.criteo.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 2]], \"https://bidder.criteo.com\": [[8192, true, 1]], \"https://us-east-sync.bidswitch.net\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://ad.doubleclick.net\": [[8192, true, 1], [32768, true, 1], [536870912, true, 2]], \"https://beacon.krxd.net\": [[8192, true, 1], [32768, true, 1], [536870912, true, 2]], \"https://dnacdn.net\": [[32768, true, 1]], \"https://ag.gbc.criteo.com\": [[8192, true, 1]], \"https://gem.gbc.criteo.com\": [[8192, true, 1]], \"https://consumer.krxd.net\": [[8192, true, 1]], \"https://static.criteo.net\": [[8192, true, 1]], \"https://z.moatads.com\": [[8192, true, 1]], \"https://pagead2.googlesyndication.com\": [[8192, true, 1]], \"https://googleads.g.doubleclick.net\": [[8192, true, 1], [32768, true, 1], [536870912, true, 4]], \"https://bea4.cnn.com\": [[32768, true, 1]], \"https://r.nexac.com\": [[8192, true, 1]], \"https://secure.adnxs.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 2]], \"https://mug.criteo.com\": [[8192, true, 1]], \"https://tpc.googlesyndication.com\": [[8192, true, 1]], \"https://ads.us.criteo.com\": [[8192, true, 1]], \"https://www.google.com\": [[1048576, true, 1], [32768, true, 1], [536870912, true, 2]], \"https://geo.moatads.com\": [[8192, true, 1]], \"https://d.agkn.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 2]], \"https://www.google.ca\": [[1048576, true, 1], [32768, true, 1], [536870912, true, 2]], \"https://static.adsafeprotected.com\": [[8192, true, 1]], \"https://cat.va.us.criteo.com\": [[8192, true, 1]], \"https://fw.adsafeprotected.com\": [[8192, true, 1]], \"https://static.eu.criteo.net\": [[8192, true, 1]], \"https://csm.us.criteo.net\": [[8192, true, 1]], \"https://eus.rubiconproject.com\": [[8192, true, 1], [32768, true, 1]], \"https://acdn.adnxs.com\": [[8192, true, 1]], \"https://sc.iasds01.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 2]], \"https://fwapi.adsafeprotected.com\": [[8192, true, 1]], \"https://ssum-sec.casalemedia.com\": [[8192, true, 1], [32768, true, 1], [536870912, true, 1]], \"https://dt.adsafeprotected.com\": [[8192, true, 1]], \"https://mms.cnn.com\": [[32768, true, 1]], \"https://www.summerhamster.com\": [[8192, true, 1]], \"https://px.moatads.com\": [[8192, true, 1]] }

Fenix

  • privacy.trackingprotection.enabled -> false
  • urlclassifier.trackingTable -> moztest-track-simple,ads-track-digest256,analytics-track-digest256,social-track-digest256
  • privacy.socialtracking.block_cookies.enabled -> true
  • privacy.trackingprotection.socialtracking.enabled -> false
  • urlclassifier.features.socialtracking.annotate.blacklistTables -> social-tracking-protection-facebook-digest256,social-tracking-protection-linkedin-digest256,social-tracking-protection-twitter-digest256
  • network.cookie.cookieBehavior -> 4
  • privacy.trackingprotection.annotate_channels -> true
  • privacy.annotate_channels.strict_list.enabled -> true
  • network.cookie.lifetimePolicy -> 0
  • urlclassifier.features.fingerprinting.blacklistTables -> base-fingerprinting-track-digest256
  • privacy.trackingprotection.fingerprinting.enabled -> true
  • urlclassifier.features.cryptomining.blacklistTables -> base-cryptomining-track-digest256
  • privacy.trackingprotection.cryptomining.enabled -> true

ContentBlocking:RequestLog on cnn.com

None content gets blocked.

"[{\"origin\":\"https://www.cnn.com\",\"blockData\":[{\"category\":32768,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://www.googletagservices.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://c.amazon-adsystem.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://agility.cnn.com\",\"blockData\":[{\"category\":32768,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://amplify.outbrain.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://cdn.cnn.com\",\"blockData\":[{\"category\":32768,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://dpm.demdex.net\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://www.i.cdn.cnn.com\",\"blockData\":[{\"category\":32768,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://static.yieldmo.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://static.chartbeat.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://bat.bing.com\",\"blockData\":[{\"category\":1048576,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://tag.bounceexchange.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://static.ads-twitter.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1},{\"category\":131072,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://sb.scorecardresearch.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://securepubads.g.doubleclick.net\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://data.cnn.com\",\"blockData\":[{\"category\":32768,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://secure-us.imrworldwide.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://api.segment.io\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://geolocation.onetrust.com\",\"blockData\":[{\"category\":32768,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://healthguides.cnn.com\",\"blockData\":[{\"category\":32768,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://widgets.outbrain.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://dynaimage.cdn.cnn.com\",\"blockData\":[{\"category\":32768,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://smetrics.cnn.com\",\"blockData\":[{\"category\":32768,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://www.ugdturner.com\",\"blockData\":[{\"category\":32768,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://cdn.adsafeprotected.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://cdn.krxd.net\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://fastlane.rubiconproject.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://sofia.trustx.org\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://ib.adnxs.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://as-sec.casalemedia.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://bidder.criteo.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://ad.doubleclick.net\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://static.criteo.net\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://eus.rubiconproject.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://acdn.adnxs.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://mms.cnn.com\",\"blockData\":[{\"category\":32768,\"blocked\":true,\"count\":1}]},{\"origin\":\"https://www.summerhamster.com\",\"blockData\":[{\"category\":8192,\"blocked\":true,\"count\":1}]}]"

GV settings

            val etpLevel = ContentBlocking.EtpLevel.STRICT
            val getAntiTrackingPolicy =  AD + ANALYTIC + SOCIAL + TEST + CRYPTOMINING + STP + FINGERPRINTING

            runtime!!.settings.contentBlocking.setEnhancedTrackingProtectionLevel(etpLevel)
            runtime!!.settings.contentBlocking.setStrictSocialTrackingProtection(false)
            runtime!!.settings.contentBlocking.setAntiTracking(getAntiTrackingPolicy)
            runtime!!.settings.contentBlocking.setCookieBehavior(ACCEPT_NON_TRACKERS)
            geckoSession.settings.useTrackingProtection = false

The Fenix issue seems to describe the known fresh install startup race.
GV does not ship with the blocklists, they are downloaded in background on the initial run which creates a race condition for the initial page load.

(In reply to Eugen Sawin [:esawin] from comment #1)

The Fenix issue seems to describe the known fresh install startup race.
GV does not ship with the blocklists, they are downloaded in background on the initial run which creates a race condition for the initial page load.

Yes, it looks similar but happens every time a new session is created.

I’m a bit too busy to properly investigate this but maybe Steve or Baku can take a look.

You can check if the blocklists have been downloaded and are active by going to about:url-classifier and entering a test url like https://google.com. You should see a result for the content list. You can also manually trigger a list update from this page by clicking "Trigger Update" in the "mozilla" row of the provider table. Would you mind to try that out and let us know if it fixes things?

Attached image updating_the_list.png

Thanks Steven, I tried searching for https://www.cnn.com/ but it doesn't display any results, the same happens in desktop, also I tried forcing the list to be updated but it doesn't fix the issue neither.

Reading through the Fenix bug, it seems like this is happening on every first load of a session (not just for new install startup) with standard ETP.

This looks pretty serious - since ETP standard is now the default setting on Fenix, so this failure to block any trackers on first session load will be the default behavior for many users. Emily, could you make sure this is prioritized? Maybe someone could work 1x1 with Arturo for this?

Flags: needinfo?(etoop)

(In reply to Arturo Mejia from comment #7)

Thanks Steven, I tried searching for https://www.cnn.com/ but it doesn't display any results, the same happens in desktop, also I tried forcing the list to be updated but it doesn't fix the issue neither.

To be clear this search is for the third-party domains, so you'd need to search for https://google.com or https://doubleclick.net, and so on. Mainly this allows you to check that the list is loaded and actively used by the url classifier. I've attached an example.

When you say doesn't fix the issue did you check if ETP was blocking cookies, or just re-do the CNN search? (The CNN search will continue to be empty for the reasons I described).

"To be clear this search is for the third-party domains, so you'd need to search for https://google.com or https://doubleclick.net, and so on. Mainly this allows you to check that the list is loaded and actively used by the url classifier. I've attached an example."

Thanks for the clarification, before going to www.cnn.com I'm able to verified that the list is loaded as you can see in the screenshot, but still ETP was showing only allowed content.

"When you say doesn't fix the issue did you check if ETP was blocking cookies, or just re-do the CNN search? (The CNN search will continue to be empty for the reasons I described)."

What I meant was the also I forced the list to be updated but still ETP was only allowing content, as you can see in Comment 6

I'm starting to think the site is sending me different content as I'm getting different results during the day, but what concerns me, it's that fact that desktop result are always constant ALWAYS BLOCKING.

Results during the day:

  1. I create a new session, I go to www.cnn.com, ETP is only allowing content, nothing gets blocked. Then in the same session, I reload the page and I see www.cnn.com ETP blocking cookies and social trackers.

  2. I create a new session, I go to www.cnn.com and ETP is only allowing content, nothing gets blocked. Then in the same session, I reload the page and nothing get blocked, If I navigate to another page, I see ETP starts blocking trackers right away.

  3. I create a new session, I go to www.cnn.com, and ETP is blocking trackers right away.

All of these 3 cases keep constant for a long time, until they start changing for 1 of the 3 cases and keep constant until they change again. But desktop results for the same site, user agent and screen size, they keep constant ALWAYS BLOCKING.

(In reply to Arturo Mejia from comment #11)

I'm starting to think the site is sending me different content as I'm getting different results during the day, but what concerns me, it's that fact that desktop result are always constant ALWAYS BLOCKING.

Results during the day:

  1. I create a new session, I go to www.cnn.com, ETP is only allowing content, nothing gets blocked. Then in the same session, I reload the page and I see www.cnn.com ETP blocking cookies and social trackers.

  2. I create a new session, I go to www.cnn.com and ETP is only allowing content, nothing gets blocked. Then in the same session, I reload the page and nothing get blocked, If I navigate to another page, I see ETP starts blocking trackers right away.

  3. I create a new session, I go to www.cnn.com, and ETP is blocking trackers right away.

All of these 3 cases keep constant for a long time, until they start changing for 1 of the 3 cases and keep constant until they change again. But desktop results for the same site, user agent and screen size, they keep constant ALWAYS BLOCKING.

Can you reproduce this on a simple test site (eg https://senglehardt.com/test/trackingprotection/test_pages/tracking_protection.html), or is it something we're only seeing on real content?

(In reply to Dylan Roeh (:droeh) (he/him) from comment #12)

(In reply to Arturo Mejia from comment #11)

I'm starting to think the site is sending me different content as I'm getting different results during the day, but what concerns me, it's that fact that desktop result are always constant ALWAYS BLOCKING.

Results during the day:

  1. I create a new session, I go to www.cnn.com, ETP is only allowing content, nothing gets blocked. Then in the same session, I reload the page and I see www.cnn.com ETP blocking cookies and social trackers.

  2. I create a new session, I go to www.cnn.com and ETP is only allowing content, nothing gets blocked. Then in the same session, I reload the page and nothing get blocked, If I navigate to another page, I see ETP starts blocking trackers right away.

  3. I create a new session, I go to www.cnn.com, and ETP is blocking trackers right away.

All of these 3 cases keep constant for a long time, until they start changing for 1 of the 3 cases and keep constant until they change again. But desktop results for the same site, user agent and screen size, they keep constant ALWAYS BLOCKING.

Can you reproduce this on a simple test site (eg https://senglehardt.com/test/trackingprotection/test_pages/tracking_protection.html), or is it something we're only seeing on real content?

Unfortunately, it's only happening on real sites.

@Dylan @Arturo, I have an issue on a simple test page that seems to be similar. Maybe it would also help to have the automated test to reproduce the issue, if you find it to be the same: https://github.com/mozilla-mobile/fenix/issues/11370

Whiteboard: [geckoview:m80]
Flags: needinfo?(etoop)
Priority: -- → P3
Whiteboard: [geckoview:m80]

Dimi are you familiar to why this issue may be happening?

Flags: needinfo?(dlee)
Priority: P3 → P1

I changed the priority as now the Fenix priority has increased to a blocker for the Fenix release.

(In reply to Arturo Mejia from comment #15)

Dimi are you familiar to why this issue may be happening?

From the content block log in the description, we can see that ETP did "annotate" the tracker (also you could see things in allowed content). This means we already have the blocklist.

Artuno, could you help check if you can reproduce this with the link below ?
https://senglehardt.com/test/trackingprotection/test_pages/tracking_protection.html
This testing page itself shows the result of cookie blocking, if you can reproduce it, please let me know what is showing in the testing page, thanks!

Flags: needinfo?(dlee) → needinfo?(amejiamarmol)

Unfortunately the issue is not reproducible in the the testing page

Flags: needinfo?(amejiamarmol) → needinfo?(dlee)

(In reply to Arturo Mejia from comment #18)

Unfortunately the issue is not reproducible in the the testing page

From the Fenix issue, it seems that we can't reproduce this bug consistently. I wonder if you can still reproduce this bug in cnn.com but not in the testing page, or can't reproduce this issue in both.

I think I'll need log to identify the issue, could you help turn on MOZ_LOG="AntiTracking:5" and dump the log? thanks!

Flags: needinfo?(dlee) → needinfo?(amejiamarmol)

From the Fenix issue, it seems that we can't reproduce this bug consistently. I wonder if you can still reproduce this bug in cnn.com but not in the testing page, or can't reproduce this issue in both.

Yes, the issue is not consistently reproducible. Right now, I'm able to reproduce on cnn.com but not in the testing pages.

I think I'll need log to identify the issue, could you help turn on MOZ_LOG="AntiTracking:5" and dump the log? thanks!

Sure, more than happy to help, how can I turn on MOZ_LOG="AntiTracking:5" ? Is there a pref on about:config or something similar?

Flags: needinfo?(amejiamarmol) → needinfo?(dlee)

(In reply to Arturo Mejia from comment #20)

Sure, more than happy to help, how can I turn on MOZ_LOG="AntiTracking:5" ? Is there a pref on about:config or something similar?

Honestly, I don't have a lot of experience on this either. But base on the patch descruption here, I think it can be done by setting the variable in /data/local/tmp/$PACKAGE-geckoview-config.yaml .

Flags: needinfo?(dlee)

No problem, I'll coordinate with Dylan to help me to create a custom geckoview build with MOZ_LOG="AntiTracking:5 on. I will keep you posted

These are the logs when NO trackers get blocked. I was loading cnn.com

These are the logs when trackers get blocked. I was loading cnn.com

Flags: needinfo?(dlee)

Additional info:

When trackers doesn't get blocked

  1. I create a new session and load cnn.com then GeckoView reports me that https://static.ads-twitter.com/uwt.js was loaded here

When trackers get blocked
2. Using the same session, I load cnn.com again but this time GeckoView reports me that https://static.ads-twitter.com/uwt.js was blocked here

Flags: needinfo?(dlee)
Assignee: nobody → droeh
Status: NEW → ASSIGNED

Dylan is possible to generate an .aar for me to test before landing?

Flags: needinfo?(droeh)
Pushed by droeh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2d7c65a660b7 Do not report tracking content as loaded simply because it has matched tracking lists. r=esawin,geckoview-reviewers
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80

Move GeckoView::Tracking Protection bugs to the GeckoView::General component.

Component: Tracking Protection → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: