alert(confirm) dialog stops playing audio
Reported by
ykn...@gmail.com,
Aug 2 2016
|
||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36
Example URL:
Steps to reproduce the problem:
1. play audio like below
var BellAudio = document.createElement('audio');
BellAudio.src = '/media/sounds/bell.mp3';
BellAudio.play();
2. call alert() just after play()
What is the expected behavior?
The audio continues to play.
What went wrong?
The audio stops playing when alert shows.
Did this work before? N/A
Is it a problem with Flash or HTML5? HTML5
Does this work in other browsers? Yes
Chrome version: 52.0.2743.82 Channel: stable
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 22.0 r0
I thinsk it works before.. (I don't remember exactly)
,
Aug 4 2016
Reproduced locally. Well, that's gross. I would guess that what's happening is play() relies on the JS event loop being run to buffer new chunks of audio :( Marking Blink>Media>Audio for Blink triage. Not sure whether this is by design or not. |
||
►
Sign in to add a comment |
||
Comment 1 by ykn...@gmail.com
, Aug 3 2016