Bug 185400

Summary: Apps added to home screen lose context when multitasking and reload
Product: WebKit Reporter: Thomas Steiner <tomac>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: beidson, cdumez, jerem.selier, mesqueeb, nicolas, turadg, webkit-bug-importer, webkit
Priority: P2 Keywords: InRadar
Version: Safari 11   
Hardware: Unspecified   
OS: Unspecified   

Description Thomas Steiner 2018-05-07 16:24:12 PDT
Steps to reproduce:

1) Add any app to home screen, e.g., https://www.trivago.com/.
2) Launch the trivago app from the home screen and start using it, e.g., start looking for a hotel.
3) Multitask to a different app, e.g., Calendar to check dates.
4) Multitask back to the trivago app to continue the booking flow.
5) Notice how the app reloads from scratch and has lost all context.

This also breaks Oauth flows, see https://github.com/nolanlawson/pinafore/issues/45 for a concrete example.
Comment 1 Radar WebKit Bug Importer 2018-05-07 22:56:39 PDT
<rdar://problem/40049353>
Comment 2 mesqueeb 2018-06-07 00:58:42 PDT
I have the same problem with my app. It will reload every time it is opened.
Ok if it's been a day since the user has opened it or something. But reloading immediately after closing once and opening again is very painful for my users experience.
Comment 3 Brady Eidson 2018-06-18 09:52:00 PDT
This is a known issue, but is also not a WebKit issue; We're tracking it in Radar.

Thanks for the report!
Comment 4 mesqueeb 2018-06-18 17:57:10 PDT
@Brady Eidson thank you for your comment and continued support. Could you tell us where we can track the status of this issue on Radar? Best regards.