Bug 249949 - onaudioprocess stops firing after alert() or confirm()
Summary: onaudioprocess stops firing after alert() or confirm()
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Audio (show other bugs)
Version: Safari Technology Preview
Hardware: Mac (Intel) macOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2022-12-29 15:36 PST by blahblah676
Modified: 2023-01-04 16:40 PST (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 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>