Bug 259492

Summary: PWA reset when opening an external link that redirects with URL replacement
Product: WebKit Reporter: alex
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Reproduction none

alex
Reported 2023-07-25 11:29:57 PDT
Created attachment 467116 [details] Reproduction When using a PWA added to the home screen, tapping a link that redirects with URL replacement will cause the PWA to reset when swiping back or using the back chevron from the in-app browser. Note: Tapping the "Done" button does not cause this to happen. Reproduction: - Download index.html, server with http server. - Install to home screen with iOS - Tap "Click Me!" to increment counter - Tap first link "[BROKEN!]", swipe back - (wait for page to settle) - observe count resets to 0 - Repeat above with second link "[WORKS!]", observe count does *not* reset
Attachments
Reproduction (1.44 KB, text/html)
2023-07-25 11:29 PDT, alex
no flags
Radar WebKit Bug Importer
Comment 1 2023-08-01 11:30:19 PDT
Note You need to log in before you can comment on or make changes to this bug.