WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 236874
Bug 240705
Web Inspector: Service Worker no longer shown in Develop menu when remotely debugging PWA installed on iOS device
https://bugs.webkit.org/show_bug.cgi?id=240705
Summary
Web Inspector: Service Worker no longer shown in Develop menu when remotely d...
Danny Moerkerke
Reported
2022-05-20 00:14:08 PDT
When remotely debugging a PWA installed on iPhone 13 Pro Max from Safari 15.4 on macOS 12.3.1, the Service Worker of this PWA is not listed under "Service Workers" in the "Develop" menu anymore. There is a "JSContext" entry in the submenu for the iPhone 13 Pro Max under "Develop" but it seems to be non-functional as it doesn't show anything. Console logs from the Service Worker are not shown in the "console" tab of the Web Inspector window that is opened when this "JSContext" entry is clicked, nor are they shown in the "console" tab of the Web Inspector for the main window.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-05-20 07:39:48 PDT
<
rdar://problem/93653811
>
Patrick Angle
Comment 2
2022-05-20 07:49:26 PDT
Hi Danny – Can you let us know what version of iOS the phone is running - I'm able to inspect home screen web app service workers (using
https://mdn.github.io/sw-test/
to test) on iOS 15.6 Beta 1, so it is possible someone has already fixed the issue you are seeing.
Danny Moerkerke
Comment 3
2022-05-20 08:56:33 PDT
Hi Patrick, I'm on iOS 15.5.
Patrick Angle
Comment 4
2022-05-20 11:45:38 PDT
My bad - my quick check this morning was flawed because the test site I used wasn't actually installed as a Home Screen web app, just as a bookmark to open Safari to the page. The issue reproduces for me as well.
Patrick Angle
Comment 5
2022-06-29 18:54:47 PDT
Hi Danny - I wanted to loop back around to let you know that this issue is resolved and the fix is in iOS 16 Developer Beta 2. I understand that not everyone is willing or has a device to spare to install the beta - there is a workaround for iOS 15.x which is to reboot your iOS device and then launch your home screen web app, at which point the service worker should appear in the Develop menu on your Mac as an item in the menu with the name of your device (e.g. "Danny's iPhone"). *** This bug has been marked as a duplicate of
bug 236874
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug