[Webkit-unassigned] [Bug 225451] New: video.currentSrc should not be reset when a new load errors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 6 04:58:45 PDT 2021


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

            Bug ID: 225451
           Summary: video.currentSrc should not be reset when a new load
                    errors
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: philip at foolip.org

A test for this in web-platform-tests fails in Safari, but passes in Chrome and Firefox:
https://wpt.fyi/results/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-currentSrc.html?run_id=5677336357765120&run_id=5721877584543744&run_id=5638047716605952&run_id=5718410715463680

Safari is failing this bit:
https://github.com/web-platform-tests/wpt/blob/6a96f5c7fe3c2fd837f1814fef4fac93ade8344e/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-currentSrc.html#L74-L81

The test is setting v.src = "https://test:test/ which is an invalid URL.

The spec for this is https://html.spec.whatwg.org/multipage/media.html#concept-media-load-algorithm, where the "If mode is attribute" will reach "If urlString was obtained successfully, set the currentSrc attribute to urlString." and *not* set currentSrc. There isn't anything else that updates currentSrc either.

See https://github.com/whatwg/html/issues/3988 for spec discussion around this.

-- 
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/20210506/5fe3def6/attachment.htm>


More information about the webkit-unassigned mailing list