A test for this in web-platform-tests fails in Safari, but passes in Chrome and Firefox:
Safari is failing this bit:
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.
Pull request: https://github.com/WebKit/WebKit/pull/652
Committed r295649 (251654@main): <https://commits.webkit.org/251654@main>
Reviewed commits have been landed. Closing PR #652 and removing active labels.
Committed 251841@main (dbb1064e05e5): <https://commits.webkit.org/251841@main>
Reviewed commits have been landed. Closing PR #1790 and removing active labels.
This was reverted to resolve https://bugs.webkit.org/show_bug.cgi?id=241982
Pull request: https://github.com/WebKit/WebKit/pull/1835
Committed 251899@main (de4124158812): <https://commits.webkit.org/251899@main>
Reviewed commits have been landed. Closing PR #1835 and removing active labels.