gorhill / uMatrix

uMatrix: Point and click matrix to filter net requests according to source, destination and type
GNU General Public License v3.0
4.55k stars 470 forks source link

Race Condition? #930

Open Penguin-Guru opened 6 years ago

Penguin-Guru commented 6 years ago

I have been having a lot of issues with a certain Windows P.C. so please know that this could be system specific. That said, I just restarted my computer, opened Chrome, and noticed that the pre-existing tabs loaded some content that Umatrix should be blocking. Some of the tabs loaded unusually slowly, and I was not able to open the Umatrix drop-down menu for a couple seconds after each page loaded. I assume this is related, but I'm not sure what could be causing it. It's not a significant problem for me, I just wanted to mention it here in case this is not previously known.

gorhill commented 6 years ago

Neither Chromium and Firefox guarantee that content is loaded after extensions are ready.

Penguin-Guru commented 6 years ago

Ah, I suppose this behaviour makes sense most of the time. I will go ahead and close this ticket unless you want to leave it open. Thanks for the quick reply and great extension. :)

gorhill commented 6 years ago

Surprisingly I could not find any duplicate about this. I want to keep it open for now to find out whether I can bring here uBO's suspendTabUntilReady approach, except that it would be the default behavior here (no special experimental flag) -- and I can now have a saner implementation given that I no longer have to care for Firefox legacy version. If after this you still have the issue, then it will become a browser one.

uBlock-user commented 6 years ago

except that it would be the default behavior here

but will it be still added as a switch ?