Bug 249949

Summary: onaudioprocess stops firing after alert() or confirm()
Product: WebKit Reporter: blahblah676
Component: Web AudioAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: cdumez, jer.noble, karlcow, rniwa, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari Technology Preview   
Hardware: Mac (Intel)   
OS: macOS 12   

blahblah676
Reported 2022-12-29 15:36:36 PST
If alert() or confirm() is called, onaudioprocess stops firing, even after the user has closed the alert dialog. Chrome and Firefox work fine. To replicate, use: https://mdn.github.io/webaudio-examples/script-processor-node/ and add an alert() or confirm() button to the code. Click the button, and the white noise should still be heard after the user closes the dialog box, but on Safari there is no audio at all, due to onaudioprocess not firing any more.
Attachments
blahblah676
Comment 1 2022-12-29 18:21:15 PST
The same bug occurs when prompt() is called.
Radar WebKit Bug Importer
Comment 2 2023-01-04 16:40:09 PST
Note You need to log in before you can comment on or make changes to this bug.