[Webkit-unassigned] [Bug 175888] New: HTMLTrackElement behavior violates the standard

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 23 09:50:24 PDT 2017


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

            Bug ID: 175888
           Summary: HTMLTrackElement behavior violates the standard
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: All
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: Media Elements
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kirill.ovchinn at gmail.com

Created attachment 318878

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

Updated `layout test` to check described issues

- on every TextTrack.cues() and TextTrack.active_cues call the same  the same TextTrackCueList object must be returned each time.
(like the standard requires: https://html.spec.whatwg.org/multipage/media.html#text-track-api:texttrack-22) - now WebKit creates a new object after setting track's src to the empty value

- 'error' event should be fired if the new URL is empty - now WebKit just ignores this.
(https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks:event-track-error)

- WebKit now clears TextTrack's cues after 'src' attribute change (see https://bugs.webkit.org/show_bug.cgi?id=175031 for details), but the cues list is also cleared if the new URL is equal to the previous URL (in this case the URL is not really 'changed'), and because of that, if the same URL is set twice, the cue list would be cleared, which doesn't seem like the behavior one would expect.

-- 
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/20170823/538b72f6/attachment.html>


More information about the webkit-unassigned mailing list