uBlockOrigin / uMatrix-issues

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

uMatrix extension console errors #263

Open uBlock-user opened 4 years ago

uBlock-user commented 4 years ago

Description

Upon boot or upon disabling/enabling uMatrix, below mentioned errors appears in the extension console.

Uncaught (in promise) Error: First-Party Isolation is enabled, but the required 'firstPartyDomain' attribute was not set. (requirement -- Set privacy.firstparty.isolate in about:config to true)

Uncaught TypeError: can't access property "matches", µm.ubiquitousBlacklistRef is null

A specific URL where the issue occurs

about:devtools-toolbox?type=extension&id=uMatrix%40raymondhill.net

Steps to Reproduce

  1. Disable/Enable uMatrix, browse to about:devtools-toolbox?type=extension&id=uMatrix%40raymondhill.net

  2. Observe the aformentioned errors appear.

Supporting evidence

Capture

Your environment

gwarser commented 4 years ago

https://github.com/uBlockOrigin/uMatrix-issues/issues/209 -> https://github.com/gorhill/uMatrix/issues/878 ?

uBlock-user commented 4 years ago

That would be the first error only, not the entire bug.

Kein commented 4 years ago

Can someone also fix this since I cant do pull requests: https://github.com/gorhill/uMatrix/blob/master/platform/chromium/vapi-background.js#L278

if ( tab.id === -1 ) { return; }

to

if ( tab === null || tab.id === -1 ) { return; }

Collecting up to 2k errors per session