Bug 259492 - PWA reset when opening an external link that redirects with URL replacement
Summary: PWA reset when opening an external link that redirects with URL replacement
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-25 11:29 PDT by alex
Modified: 2023-08-01 11:30 PDT (History)
1 user (show)

See Also:


Attachments
Reproduction (1.44 KB, text/html)
2023-07-25 11:29 PDT, alex
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description alex 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
Comment 1 Radar WebKit Bug Importer 2023-08-01 11:30:19 PDT
<rdar://problem/113217909>