Bug 218154
| Summary: | Web Inspector: Registered but missing Service Workers not shown | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon <simon_c> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bburg, inspector-bugzilla-changes, smoley, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Mac | ||
| OS: | macOS 10.15 | ||
Simon
Sorry if this is a known issue/dupe, I did a few searches and couldn't find anything though.
Safari 14, and STP on Mac doesn't show registered, but missing (404) Service Workers in either the Web Inspector or the Develop->Service Workers menu. Seems as though all registrations—resolved or no—should still be shown somewhere to allow unregistration/management without having to resort to the console?
Thanks!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Smoley
Thanks for filing, I'll route this to the right folks. If you have a test case or any other info to help make this readily reproducible please add it here.
Radar WebKit Bug Importer
<rdar://problem/70694789>
Simon
Sure thing.
The simplest way to reproduce (with node and ruby installed) is probably:
- In Terminal
$ npx degit "sveltejs/sapper-template#rollup" my-app
$ cd my-app
$ npm install
$ npm run dev
- Open http://localhost:3000 in Safari, should see a registered service worker in the develop menu.
- Quit Safari
- Go back to terminal and ctrl+c
- Then in Terminal:
$ ruby -run -e httpd -- -p 3000
- Open Safari and again go to http://localhost:3000, in Develop there won't be any service workers shown.
- You should see a 404 response for /service-worker.js from WEBrick
I think that's it, let me know if you need any more info.
Cheers!