-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service workers cannot be disabled in Canary #1562
Comments
Did you un-register all service-workers from |
Oh yeah did that. And various other ways like clearing all caches, site specific data etc. too. |
This was problematic even before 90. |
So this happens at browser launch? Documentation for
|
I didn't check that. I used it with caches fully cleared and loading sites. I just mentioned "suspendTabsUntilReady" for the sake of completeness. So likely the issue is not that. On Chrome stable (90), I don't face this issue either with browser launch or anytime. The service worker is always blocked. But in Canary even with all site data cleared (ie service workers cleared too), the service worker appears at the end of the page load. I think it's probably because for some reason Canary prevents uBO from adding the |
Easy to verify, open a new Chrome instance with no tab opened, ensure there are no workers in effect using Also, in general Canary is unsupported, too many instances of malfunctions attributed to uBO while the browser is the issue, so if you can't reproduce the issue with stable or beta Chrome, then its most likely a browser issue. |
Yeah, when I open a browser without clearing caches and see But it seems to me that since the service worker anyway installed on a fresh load, it will load again. On Chrome stable I see this message in Devtools console:
which is absent in Canary. But I understand your point about Canary having its own issues which may not appear when it becomes stable. So I think you can close the issue and maybe if we see it in Beta just before Chrome release, I can open again? |
That would make it a Chromium issue, you would need to file a report on their bug tracker. |
Prerequisites
Description
On Chrome Canary, service workers can't be blocked by the filter
$csp=worker-src 'none'
A specific URL where the issue occurs
https://www.youtube.com/
Steps to Reproduce
$csp=worker-src 'none'
suspendTabsUntilReady
toyes
(as described here)Expected behavior:
Service worker is not loaded. In Chrome stable this is working fine.
Actual behavior:
Service worker gets loaded as can be seen in developer tools.
Your environment
The text was updated successfully, but these errors were encountered: