Bug 248265

Summary: Fail to resume the AudioContext after user gesture 'touchend'
Product: WebKit Reporter: Lixin <timelyeee>
Component: Web AudioAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: cdumez, jer.noble, marcosc, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
The static page to reproduce the bug none

Lixin
Reported 2022-11-23 00:25:15 PST
Created attachment 463688 [details] The static page to reproduce the bug Behavior in Chrome (if known): Same Behavior in Firefox (if known): Same Video and audio issue. Once add listener for 'touchend', as it will resume the AudioContext when 'touchend'. Yet when we touch and slide, the 'touchend' event was triggered but the audio context cannot be resumed somehow. ## Flash or HTML5? HTML5 ## What steps will reproduce the problem? (1) Open the page with mobile browser, or use devtool responsive util to make the touch events work. (2) Open the console. (3) Slide ## What is the expected result? AudioContext will resume successfully. ## What is the actual result? AudioContext cannot resume due to the safety policy, it can only be resumed with 'touch as click'.
Attachments
The static page to reproduce the bug (1.64 KB, text/html)
2022-11-23 00:25 PST, Lixin
no flags
Sam Sneddon [:gsnedders]
Comment 1 2022-11-23 04:09:55 PST
Lixin
Comment 2 2022-11-25 00:23:29 PST
(In reply to Sam Sneddon [:gsnedders] from comment #1) > c.f. > https://html.spec.whatwg.org/multipage/interaction.html#activation- > triggering-input-event says it should happen with any touchend Yes, but it didn't happen for AudioContext
Radar WebKit Bug Importer
Comment 3 2022-11-30 00:26:17 PST
Note You need to log in before you can comment on or make changes to this bug.