[Webkit-unassigned] [Bug 177867] New: Unexpected "playing" event triggered when video playback fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 4 05:41:37 PDT 2017


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

            Bug ID: 177867
           Summary: Unexpected "playing" event triggered when video
                    playback fails
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Event Handling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: eiriksletteberg at gmail.com

This affects Safari 11+.

Reproducible test case: https://gist.github.com/eirslett/9e4da60e418ef490c94f3ba14cc4e7cd

Preconditions:
1) Set up a video to be played, add event listeners to the video element
2) Trigger play programmatically, but without a user interaction first
3) Expect video playback to fail/be denied. OK
4) Expect an "error" event to be dispatch from the video element: FAILS

The video element triggers a "playing" event, but since playback was denied, one would expect an "error" event to be triggered instead?

-- 
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/20171004/d51de91c/attachment.html>


More information about the webkit-unassigned mailing list