uBlockOrigin / uMatrix-issues

This is the community-maintained issue tracker for uMatrix
https://github.com/gorhill/uMatrix
123 stars 17 forks source link

Blocked XHRs for some 3rd party domains not represented in matrix view on Chromium & Iridium #280

Closed nothingmuch closed 4 years ago

nothingmuch commented 4 years ago

Prerequisites

Description

A specific URL where the issue occurs

https://twitter.com/explore (as redirected by the home page when not logged in)

Steps to Reproduce

  1. Open twitter.com, observe failure to load but lack of blocked XHR request indicator under abs.twimg.com row
  2. apply additional rule permitting XHRs to abs.twimg.com, reload, observe successful loading but lack of allowed XHR request indicator under abs.twimg.com

Ruleset

matrix-off: about-scheme true
matrix-off: behind-the-scene true
matrix-off: chrome-extension-scheme true
matrix-off: chrome-scheme true
matrix-off: moz-extension-scheme true
matrix-off: opera-scheme true
matrix-off: vivaldi-scheme true
matrix-off: wyciwyg-scheme true
noscript-spoof: * true
referrer-spoof: * true
referrer-spoof: behind-the-scene false
* * * block
* * css allow
* * frame block
* * image allow
* 1st-party cookie allow
* 1st-party frame allow
* 1st-party media allow
twitter.com * script allow
twitter.com 1st-party xhr allow
twitter.com giphy.com xhr allow
twitter.com pbs.twimg.com xhr allow
twitter.com riffsy.com xhr allow
twitter.com video.twimg.com media allow
twitter.com video.twimg.com xhr allow

Upon adding the rule:

twitter.com abs.twimg.com xhr allow

or

twitter.com * xhr allow

(the latter is what is in the screenshot below, but I've confirmed both work)

the website loads, but the request counts in the matrix appear the same

Supporting evidence

Note the absence of a number in the abs.twimg.com x XHR cell in both screenshots.

image image

The actual resource that appears to fail to load is a script on abs.twimg.com, fetched in an XHR (I believe as part of webpack loading, but not sure as I've no experience with that):

image

Your environment

nothingmuch commented 4 years ago

Also seems to happen on Chromium 83.0.4103.116 Fedora Project (also w/ 1.4.0):

image image

gwarser commented 4 years ago

Use the logger

image

These are tab-less requests from service worker.

Duplicate of https://github.com/uBlockOrigin/uMatrix-issues/issues/92#issuecomment-457866811