[Webkit-unassigned] [Bug 248265] New: Fail to resume the AudioContext after user gesture 'touchend'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 23 00:25:15 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=248265

            Bug ID: 248265
           Summary: Fail to resume the AudioContext after user gesture
                    'touchend'
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: timelyeee at gmail.com
                CC: cdumez at apple.com

Created attachment 463688

  --> https://bugs.webkit.org/attachment.cgi?id=463688&action=review

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'.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221123/9a40bb3a/attachment.htm>


More information about the webkit-unassigned mailing list