Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b55438f2a83cca2884e294de5c9f77cc63b17ed3
https://github.com/WebKit/WebKit/commit/b55438f2a83cca2884e294de5c9f77cc63b17ed3
Author: Youenn Fablet <[email protected]>
Date: 2023-11-15 (Wed, 15 Nov 2023)
Changed paths:
A LayoutTests/http/wpt/webcodecs/audioData-serialization-expected.txt
A LayoutTests/http/wpt/webcodecs/audioData-serialization.html
M LayoutTests/http/wpt/webcodecs/videoFrame-serialization-expected.txt
M LayoutTests/http/wpt/webcodecs/videoFrame-serialization.html
A
LayoutTests/platform/glib/http/wpt/webcodecs/audioData-serialization-expected.txt
M Source/WebCore/bindings/js/SerializedScriptValue.cpp
Log Message:
-----------
Sending multiple `VideoFrame`s per `postMessage()` only sends duplicates of
the first
https://bugs.webkit.org/show_bug.cgi?id=264516
rdar://118445968
Reviewed by Eric Carlson.
Update the index computation so that we reuse the right serialized data on
deserialization, for both audio data and video frame.
* LayoutTests/http/wpt/webcodecs/audioData-serialization-expected.txt: Added.
* LayoutTests/http/wpt/webcodecs/audioData-serialization.html: Added.
* LayoutTests/http/wpt/webcodecs/videoFrame-serialization-expected.txt:
* LayoutTests/http/wpt/webcodecs/videoFrame-serialization.html:
*
LayoutTests/platform/glib/http/wpt/webcodecs/audioData-serialization-expected.txt:
Added.
* Source/WebCore/bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneSerializer::dumpWebCodecsVideoFrame):
(WebCore::CloneDeserializer::readWebCodecsVideoFrame):
Canonical link: https://commits.webkit.org/270772@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes