onChange not working in Safari
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/change_event
What specific section or headline is this issue about?
Browser compatibility
What information was incorrect, unhelpful, or incomplete?
The information about Safari has support for onChange is not valid. There is a reported issue about this.
What did you expect to see?
Would like to see Safari browser compatibility is set to no.
Do you have any supporting links, references, or citations?
Issue reported here: https://bugs.webkit.org/show_bug.cgi?id=259432
Example where this is not working: https://stackblitz.com/edit/js-yzejtq?file=index.js,index.html
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/api/permissionstatus/change_event - MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/change_event
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/permissionstatus/change_event/index.md
- Last commit: https://github.com/mdn/content/commit/acfe8c9f1f4145f77653a2bc64a9744b001358dc
- Document last modified: 2023-07-07T07:19:19.000Z
This may value a note in bcd.
I tested the example on macOS in Chrome 135, Firefox Nightly 139, and Safari 18.4, but it only worked in Chrome.
@DaggeDaggmask I know this is an old issue, but could you try and reproduce the issue in the current versions of Firefox and Safari? 🙏
PS: If we touch this data, we could mention that Firefox < 63 had a bug (https://bugzilla.mozilla.org/show_bug.cgi?id=1278831).
+1 - change event is not firing on Safari(inc all browsers on IOS), Firefox and Andriod webview.
Still not firing in Safari