WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
248265
Fail to resume the AudioContext after user gesture 'touchend'
https://bugs.webkit.org/show_bug.cgi?id=248265
Summary
Fail to resume the AudioContext after user gesture 'touchend'
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
Details
View All
Add attachment
proposed patch, testcase, etc.
Sam Sneddon [:gsnedders]
Comment 1
2022-11-23 04:09:55 PST
c.f.
https://html.spec.whatwg.org/multipage/interaction.html#activation-triggering-input-event
says it should happen with any touchend
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
<
rdar://problem/102802035
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug