[Webkit-unassigned] [Bug 217228] New: Multiple calls to suspend media playback for the same WKWebView may result in resuming media playback too soon

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 2 08:59:23 PDT 2020


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

            Bug ID: 217228
           Summary: Multiple calls to suspend media playback for the same
                    WKWebView may result in resuming media playback too
                    soon
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: katherine_cheney at apple.com

It’s possible that multiple calls to _suspendAllMediaPlayback() could occur in the same WKWebView with different expectations of when to resume. The current implementation will resume after one call to _resumeAllMediaPlayback(). Instead, we should make sure that all calls to _suspendAllMediaPlayback() have been resolved with _resumeAllMediaPlayback() before actually resuming media content. Adding a counter to track how many calls to suspend have been made and only resuming when the counter is at 0 is a potential solution.

-- 
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/20201002/8a2f02fa/attachment.htm>


More information about the webkit-unassigned mailing list