[Webkit-unassigned] [Bug 211018] iOS PWAs using Service Workers freeze after being backgrounded
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 27 09:24:30 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=211018
Daniel Sweet <daniel.sweet at heyglide.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.sweet at heyglide.com
--- Comment #4 from Daniel Sweet <daniel.sweet at heyglide.com> ---
I _can_ reproduce this, separately. iOS 13.4.1, iPhone 11 Pro. See the following repo for an extremely minimal reproduction: https://github.com/quicktype/ios-pwa-freeze-bug
In particular, this never happens in Mobile Safari. This only happens on PWAs added directly to the home screen.
This is a complete freeze of all JavaScript execution contexts when visibility states are changed. Simply put, the PWA container sometimes forgets to resume all JavaScript execution contexts.
If you disable Service Workers, there are no problems. This might also surface with Web Workers, but I haven't tested them.
This is _not_ an infinite loop in either the page JS context or the Service Worker JS context. I suspect it's a race condition involving suspending multiple JS execution contexts when the visibility state changes.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200427/97b06610/attachment.htm>
More information about the webkit-unassigned
mailing list