Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 547b9eb67f0c5c00195b4b34a8bb854d84df17f6 https://github.com/WebKit/WebKit/commit/547b9eb67f0c5c00195b4b34a8bb854d84df17f6 Author: Youenn Fablet <you...@apple.com> Date: 2025-09-16 (Tue, 16 Sep 2025)
Changed paths: M LayoutTests/http/wpt/mediastream/worker-mediastreamtrack.worker.js M LayoutTests/webrtc/video.html M Source/WebCore/Modules/mediastream/MediaStreamTrack.cpp Log Message: ----------- ASSERTION FAILED: !std::isnan(value) - RTCRtpReceiver-track-settings.tentative.html WPT test case https://bugs.webkit.org/show_bug.cgi?id=298060 rdar://159882460 Reviewed by Jean-Yves Avenard. We do not expose width and height if their value is zero. This also prevents aspectration value to be NaN. Instead they will be undefined, which aligns with Chrome and Firefox. * LayoutTests/http/wpt/mediastream/worker-mediastreamtrack.worker.js: (promise_test.async t): * LayoutTests/webrtc/video.html: * Source/WebCore/Modules/mediastream/MediaStreamTrack.cpp: (WebCore::MediaStreamTrack::getSettings const): Canonical link: https://commits.webkit.org/300017@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