-
Notifications
You must be signed in to change notification settings - Fork 816
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
Do not use integrity when request is no-cors #3099
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for getting this changed!
@@ -133,7 +133,10 @@ class PrecacheStrategy extends Strategy { | |||
!integrityInRequest || integrityInRequest === integrityInManifest; | |||
response = await handler.fetch( | |||
new Request(request, { | |||
integrity: integrityInRequest || integrityInManifest, | |||
integrity: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add
// See https://github.com/GoogleChrome/workbox/issues/3096
so that the context is not lost?
😂 🥲 😂
|
Thanks for the fix! When do we expect this to be released? @jeffposnick |
Fixing interaction between integrity and no-cors request in Precache Strategy
Fixes: #3096