uMatrix icon indicating copy to clipboard operation
uMatrix copied to clipboard

Race Condition?

Open Penguin-Guru opened this issue 8 years ago • 4 comments

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.

Penguin-Guru avatar Jan 27 '18 18:01 Penguin-Guru

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

gorhill avatar Jan 27 '18 18:01 gorhill

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. :)

Penguin-Guru avatar Jan 28 '18 02:01 Penguin-Guru

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.

gorhill avatar Jan 28 '18 12:01 gorhill

except that it would be the default behavior here

but will it be still added as a switch ?

uBlock-user avatar Jan 28 '18 17:01 uBlock-user