[Webkit-unassigned] [Bug 224274] New: window.closed of opened window remains false when it is closed in standalone mode
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 7 01:49:27 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=224274
Bug ID: 224274
Summary: window.closed of opened window remains false when it
is closed in standalone mode
Product: WebKit
Version: Safari 14
Hardware: iPhone / iPad
OS: iOS 14
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: chenhaoftk at gmail.com
Minimal repro: https://wuchenhao.github.io/open-window/index.html
Symptom: when a window is opened from standalone mode, its `closed` property is not updated to `true` when the window is closed.
Repro steps:
1. Visit above URL on iPhone
2. Add the page to home screen
3. Open the page from home screen (page should be opened in standalone mode)
4. Click the "Open Window" button. A blank page should be opened.
5. Close the blank page. Observe that there is no alert window showing up - indicating that `window.closed` remains `false`.
Additional information:
1. The issue only exists in iOS standalone mode. Also Mac Safari doesn't exhibit this issue.
--
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/20210407/1b25d671/attachment.htm>
More information about the webkit-unassigned
mailing list