Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: ccd45357bd2ad7e46bbf93b899234eeb1c62cca2 https://github.com/WebKit/WebKit/commit/ccd45357bd2ad7e46bbf93b899234eeb1c62cca2 Author: Youenn Fablet <youe...@gmail.com> Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths: A LayoutTests/fast/mediastream/applyConstraints-ended-expected.txt A LayoutTests/fast/mediastream/applyConstraints-ended.html M Source/WebCore/Modules/mediastream/MediaStreamTrack.cpp Log Message: ----------- applyConstraints on an ended track should synchronously resolve rdar://123221377 https://bugs.webkit.org/show_bug.cgi?id=269695 Reviewed by Jean-Yves Avenard. As per https://w3c.github.io/mediacapture-main/#dom-mediastreamtrack-applyconstraints, we should resolve and not reject the applyConstraints promise on an ended track. Update the code according spec and add a dedicated test. * LayoutTests/fast/mediastream/applyConstraints-ended-expected.txt: Added. * LayoutTests/fast/mediastream/applyConstraints-ended.html: Added. * Source/WebCore/Modules/mediastream/MediaStreamTrack.cpp: (WebCore::MediaStreamTrack::applyConstraints): Canonical link: https://commits.webkit.org/274975@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes