Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

webrequest filtering functions not working in Tor mode #14021

Closed
diracdeltas opened this issue May 4, 2018 · 4 comments
Closed

webrequest filtering functions not working in Tor mode #14021

diracdeltas opened this issue May 4, 2018 · 4 comments

Comments

@diracdeltas
Copy link
Member

STR:

  1. open tor tab
  2. go to nytimes.com
  3. notice that no ads are blocked in the shields panel

It looks like the partition is initialized, but the webrequest listeners in the Tor session do not fire.

cc @darkdh @riastradh-brave

@diracdeltas diracdeltas added this to the 0.23.x (Developer Channel) milestone May 4, 2018
@jumde jumde self-assigned this May 4, 2018
@lukemulks
Copy link
Collaborator

lukemulks commented May 6, 2018

Was testing on Windows 10 - observed some behavior worth noting in case it helps with this.

I began browsing with scripts disabled to get a feel for the edges between ads and no ads with the Tor connection, and observed a tracking pixel being blocked with scripts disabled. Details and STR below.

profile:

Brave: 0.23.2
V8: 6.6.346.26
rev: c09cbf6
Muon: 6.1.0
OS Release: 10.0.16299
Update Channel: Developer
OS Architecture: x64
OS Platform: Microsoft Windows
Node.js: 7.9.0
Brave Sync: v1.4.2
libchromiumcontent: 66.0.3359.139

STR:

 Quantserve tracking request (blocked) https://pixel.quantserve.com/pixel/p-4dIM5nVs2rFio.gif

brave-desktop-win-tor-tab-dev-build-05052018-1block-noscript

I re-enabled scripts and reloaded the page. I observed what appears to be a mix of ad and tracking calls blocked on that page (scripts re-enabled):
brave-desktop-win-tor-tab-dev-build-05052018-scripts-enabled

I navigated to the homepage, and observed ad and tracking requests being blocked on the homepage with scripts enabled:

brave-desktop-win-tor-tab-dev-build-05052018-scripts-enabled-hp

When I attempted to repro the same way from a separate Tor tab (same str as listed above) - I'm observing different results, zero requests blocked across all shield stats.
brave-desktop-win-tor-tab-dev-build-05052018-scripts-enabled-hp-tab-2
Note: I tested from this tab without a new Tor circuit, and with, and observe the same result.

I navigated to an article page from the same tab that showed zero blocking and did not observe any blocked ads or tracking from an article page.

Note that I have site isolation enabled in this build as well.

Not sure why I'm seeing different results from the same steps to repro in different Tor tabs, but fwiw did not recall observing tracking protection working until after I began disabling scripts for the tor tab that began blocking things.

darkdh added a commit to brave/muon that referenced this issue May 7, 2018
@darkdh
Copy link
Member

darkdh commented May 7, 2018

fixed by brave/muon@750df85 which will be available in muon 6.1.1

@btlechowski
Copy link
Contributor

btlechowski commented Jun 13, 2018

Verified on Ubuntu 17.10 x64

  • 0.23.8 06c657b
  • Muon 6.1.5
  • libchromiumcontent 66.0.3359.181

Verified on Windows 10 x64
• 0.23.8 06c657b
• Muon 6.1.5
• libchromiumcontent 66.0.3359.181

@srirambv
Copy link
Collaborator

srirambv commented Jun 21, 2018

Verified on Windows 10 x64 using

  • 0.23.12 - 88f6f07
  • Muon - 7.1.1
  • libchromiumcontent - 67.0.3396.87

Verified with macOS 10.12.6 using

  • 0.23.14 f4da855
  • Muon 7.1.1
  • libchromiumcontent 67.0.3396.87

Verified on Ubuntu 17.10 x64

  • 0.23.14 - f4da855
  • Muon - 7.1.1
  • libchromiumcontent - 67.0.3396.87

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.