[webkit-changes] [WebKit/WebKit] ccd453: applyConstraints on an ended track should synchron...
youennf
noreply at github.com
Mon Feb 19 06:26:13 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ccd45357bd2ad7e46bbf93b899234eeb1c62cca2
https://github.com/WebKit/WebKit/commit/ccd45357bd2ad7e46bbf93b899234eeb1c62cca2
Author: Youenn Fablet <youennf at 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
More information about the webkit-changes
mailing list