Bug 259432 - PermissionStatus.onchange doesn't fire
Summary: PermissionStatus.onchange doesn't fire
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari 16
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-23 15:03 PDT by chrisguttandin
Modified: 2024-06-17 06:45 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chrisguttandin 2023-07-23 15:03:01 PDT
The change event of a PermissionStatus doesn't fire when the PermissionState changes.

This demo on StackBlitz (https://stackblitz.com/edit/js-yzejtq?file=index.js,index.html) can be used to reproduce the bug. Changing the microphone permission state by calling getUserMedia() doesn't trigger a change event.
Comment 1 Radar WebKit Bug Importer 2023-07-30 15:03:13 PDT
<rdar://problem/113110801>
Comment 2 Thorsten Schau 2024-06-17 06:45:56 PDT
This is still an issue. +1