Steps to reproduce
Microsoft Edge’s service worker developer tools returns undefined for
self.clients. Both properties are implemented and work in code (the image shows logging them to return an object), but aren’t accessible from the developer tools console.
Visit https://lamplightdev.github.io/r3search so that a service worker is installed in the background.
Open Microsoft Edge Developer Tools, click the Debugger Tab, and then select Service Workers from the left sidebar.
Click “Inspect” on the service worker entry. A second Developer Tools window should open.
Click “Console” on this second Developer Tools window that is inspecting the service worker.
self.registrationand press ENTER. The output is currently
undefinedbut should not be undefined since
self.registrationis a supported property.
self.clientsand press ENTER. Observe the same
Note: As shown in the attached image,
self.clients are implemented and function in code, but are just not exposed in Edge’s service worker developer tools.
Microsoft Edge 42.17074.1000.0
Microsoft EdgeHTML 17.17074
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Steven K.”