| Summary: | window.closed of opened window remains false when it is closed in standalone mode | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | chenhaoftk |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED MOVED | ||
| Severity: | Normal | CC: | achristensen, bfulgham, cdumez, david_quesada, smoley, thorton, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 14 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 14 | ||
|
Description
chenhaoftk
2021-04-07 01:49:27 PDT
I would expect that `window.closed` is set to `true` after the window is closed. Thanks for filing, this worked as expected as recently as iOS 14.2.1. I can reproduce this issue on the latest iOS 14.5 beta. Thanks! Also this issue can only be reproduced on real phones. Simulators do not have this problem. It appears the bug in not in WebKit but in SafariViewController. The radar has been forwarded to the SafariViewController team. Closing this WebKit bug. This should now be fixed in shipping software. |