Skip to content
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

SW fails to fetch spec CSS on first load of the day #395

Open
tabatkins opened this issue Apr 28, 2022 · 2 comments
Open

SW fails to fetch spec CSS on first load of the day #395

tabatkins opened this issue Apr 28, 2022 · 2 comments

Comments

@tabatkins
Copy link
Contributor

On the first load of the day (or any load after a SW refresh, I imagine), WHATWG specs fail to load their CSS in current chrome (100). The following errors show up in the console:

The FetchEvent for "https://resources.whatwg.org/spec.css" resulted in a network error response: 
an "opaque" response was used for a request whose type is not no-cors
The FetchEvent for "https://resources.whatwg.org/standard.css" resulted in a network error response: 
an "opaque" response was used for a request whose type is not no-cors
The FetchEvent for "https://resources.whatwg.org/standard-shared-with-dev.css" resulted in a network error response: 
an "opaque" response was used for a request whose type is not no-cors

After a refresh these succeed and the spec is formatted normally.

@domenic domenic transferred this issue from whatwg/meta Apr 28, 2022
@domenic
Copy link
Member

domenic commented Apr 28, 2022

Seems very similar to #253, perhaps even a dupe, but it sounds like you have a deterministic repro which was not the case for me...

@tabatkins
Copy link
Contributor Author

Hm, I got it to reproduce immediately by stopping and restarting the SW then refreshing, but now that doesn't work again.

Regardless, it's definitely happening approximately daily for me, if you want to fiddle and have a slow back-and-forth debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants