Bug 226636

Summary: Develop -> Service Workers menu always empty
Product: WebKit Reporter: Dan Peddle <dan>
Component: Service WorkersAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Major CC: bfulgham, dan, pvollan, web-inspector-bugs, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac (Intel)   
OS: macOS 11   

Description Dan Peddle 2021-06-04 02:50:14 PDT
Unable to debug or inspect running service workers in Safari Tech Preview 125.

Steps to reproduce:

- open https://mdn.github.io/sw-test/
- open console
- observe message "Service worker active"
- evaluate `navigator.serviceWorker.controller` and observe a SW is registered and controlling
- Open `Develop` menu, open `Service Workers` menu, 
- observe "No service workers" text

Works in current Safari 14.1
Comment 1 Radar WebKit Bug Importer 2021-06-04 10:30:47 PDT
<rdar://problem/78875349>
Comment 2 youenn fablet 2021-06-06 23:57:52 PDT
This is indeed broken in STP 125 but appears to work in  WebKit ToT. Not sure where regression happened.
Comment 3 youenn fablet 2021-06-07 00:09:46 PDT
I tried to check for the regression point but was not able to repro locally either except on STP.
I guess this is specific to STP and not Safari.