Bug 252684
| Summary: | visibilitychange not fired | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Danny Moerkerke <drmoerkerke> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 16 | ||
Danny Moerkerke
On iOS 16.4 beta 1 Safari does not fire the "visibilitychange" event when the browser is minimized.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105794118>
Chris Dumez
I am having trouble reproducing on iOS 16.4 Beta with:
```
1. Load https://jsfiddle.net/rk7bt8hc/5/
2. Home out of Safari
3. Go back to Safari
4. You should now see
> visibility changed to hidden
> visibility changed to visible
```
Could you please provide more information to help us reproduce?
Is this on iPad or iPhone? Do you have a better reproduction case than the one I wrote above?
Danny Moerkerke
This is now fixed in Safari 17