Bug 181153
Summary: | Service Worker not working properly with cache.put and new Response(); | ||
---|---|---|---|
Product: | WebKit | Reporter: | HrVl <hermanosvalor> |
Component: | Service Workers | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Major | CC: | hermanosvalor, youennf |
Priority: | P2 | ||
Version: | Safari Technology Preview | ||
Hardware: | Mac | ||
OS: | macOS 10.13 | ||
URL: | https://serviceworke.rs/cache-from-zip_demo.html |
HrVl
Dear all,
The service worker of this example does not work. This is a offline caching strategy commonly used for small and static websites.
The problem is that the body of the manually-generated responses saved with cache.put are empty when they are used.
https://serviceworke.rs/cache-from-zip_demo.html
Note that this works fine in Firefox and Chrome.
Thanks.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
youenn fablet
Hi HrVI, this issue is now probably fixed in latest WebKit nightlies and will hopefully make it into next STP.
Let me know when next STP is out if that fixes this issue.