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   

Description blahblah676 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.
Comment 1 blahblah676 2022-12-29 18:21:15 PST
The same bug occurs when prompt() is called.
Comment 2 Radar WebKit Bug Importer 2023-01-04 16:40:09 PST
<rdar://problem/103893330>