Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3bf2b90a001e19959ef3f1f05cf61ee8addf92e4
https://github.com/WebKit/WebKit/commit/3bf2b90a001e19959ef3f1f05cf61ee8addf92e4
Author: Youenn Fablet <[email protected]>
Date: 2026-04-07 (Tue, 07 Apr 2026)
Changed paths:
A
LayoutTests/http/wpt/mediastream/serialize-mediastreamtrack-to-worker-expected.txt
A LayoutTests/http/wpt/mediastream/serialize-mediastreamtrack-to-worker.html
M Source/WebCore/bindings/js/SerializedScriptValue.cpp
M Source/WebCore/page/Quirks.cpp
M Source/WebCore/page/Quirks.h
M Source/WebCore/page/QuirksData.h
Log Message:
-----------
REGRESSION (STP 239-240): MediaStreamTrack DataCloneError: The object can not
be cloned
rdar://173891803
https://bugs.webkit.org/show_bug.cgi?id=311156
Reviewed by Eric Carlson.
We add a quirk that allows to serialize MediaStreamTrack via postMessage.
Basically, any track that is not in the transfer list is cloned and the clone
is added to the transfer list.
This ensures that the serialized track is not stopped as part of postMessage.
We enable this quirk for Zoom.
This quirk is only enabled for document's contexts, not workers, since this is
sufficient to unbreak Zoom.
Test: http/wpt/mediastream/serialize-mediastreamtrack-to-worker.html
Canonical link: https://commits.webkit.org/310717@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications