This repository has been archived by the owner on Jul 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Compat issue: document.addEventListener / window.addEventListener('visibilitychange') #68
Comments
What version of Safari are you testing? I thought we fixed that not too long ago. |
This was in 12.1 / 13.1, I don't have 14.0 (only can test on BrowserStack) |
I just tested and it is working as intended in Safari 14.0. As I said, we fixed this fairly recently. The event was not marked as bubbling in WebKit: http://trac.webkit.org/r260483. Can be closed? The specification says "Fire a simple event named visibilitychange that bubbles". The "that bubbles" part is what makes the event get dispatched on the Window. |
Awesome. Thx for quick reply and verification 👍 |
jakub-g
added a commit
to jakub-g/browser-compat-data
that referenced
this issue
Nov 10, 2020
ddbeck
pushed a commit
to mdn/browser-compat-data
that referenced
this issue
Nov 16, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I just found out today this compatibility issue:
The spec only talks about
Document
, I'm wondering if spec should explicitly state that this should be supported onwindow
for better portability?The text was updated successfully, but these errors were encountered: