Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: a46ef13b33d0cb20be974f92f8b1d9297966d869
https://github.com/WebKit/WebKit/commit/a46ef13b33d0cb20be974f92f8b1d9297966d869
Author: Philippe Normand <[email protected]>
Date: 2026-05-22 (Fri, 22 May 2026)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/eme/CDMProxyThunder.cpp
M Source/WebCore/platform/graphics/gstreamer/eme/CDMProxyThunder.h
M Source/WebCore/platform/graphics/gstreamer/eme/GStreamerEMEUtilities.h
M
Source/WebCore/platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.cpp
M
Source/WebCore/platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.h
M
Source/WebCore/platform/graphics/gstreamer/eme/WebKitThunderDecryptorGStreamer.cpp
M
Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp
Log Message:
-----------
Cherry-pick 313658@main (373ff82be279).
https://bugs.webkit.org/show_bug.cgi?id=315181
[GStreamer][EME] Improve decryption no-key errors handling
https://bugs.webkit.org/show_bug.cgi?id=315181
Reviewed by Xabier Rodriguez-Calvar.
In the case of Widevine the underlying platform CDM is signalling an
expired license during
decryption using a NoKey error code and at the same time its internal key
status update mechanism
will trigger a keyupdated callback in the upper layer (Thunder/OCDM). This
triggers a racy behaviour
where the pipeline will receive an error message and Thunder will in
parallel trigger a JS
keystatuses event to notify the web app.
The proposed solution is to introduce a new convention in OCDM
implementations where a Widevine NoKey
error would be reported as ERROR_INVALID_ACCESSOR. Then in WebKit the
decryptor can detect those and
emit a GStreamer DECRYPT_NOKEY error. In order to prevent double error
reporting the MSE source
element also needs to handle this. In the player we can then ignore the
DECRYPT_NOKEY error because
Thunder/OCDM will trigger a keystatuses event anyway.
Manually tested, we currently don't have any Widevine support in our layout
test setup.
*
Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::handleMessage):
* Source/WebCore/platform/graphics/gstreamer/eme/CDMProxyThunder.cpp:
(WebCore::CDMProxyThunder::decrypt):
* Source/WebCore/platform/graphics/gstreamer/eme/CDMProxyThunder.h:
* Source/WebCore/platform/graphics/gstreamer/eme/GStreamerEMEUtilities.h:
*
Source/WebCore/platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.cpp:
(transformInPlace):
*
Source/WebCore/platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.h:
*
Source/WebCore/platform/graphics/gstreamer/eme/WebKitThunderDecryptorGStreamer.cpp:
(decrypt):
*
Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp:
(webKitMediaSrcLoop):
Canonical link: https://commits.webkit.org/313658@main
Canonical link: https://commits.webkit.org/305877.660@webkitglib/2.52
Commit: 902100ab6943cc5d90830d91e01536bf04003153
https://github.com/WebKit/WebKit/commit/902100ab6943cc5d90830d91e01536bf04003153
Author: Diego Pino Garcia <[email protected]>
Date: 2026-05-22 (Fri, 22 May 2026)
Changed paths:
M Source/WebCore/platform/graphics/skia/FontSkia.cpp
Log Message:
-----------
Cherry-pick 313160@main (a771f283a06a).
https://bugs.webkit.org/show_bug.cgi?id=281333
[GTK][WPE][Skia] Implement half width font
https://bugs.webkit.org/show_bug.cgi?id=281333
Reviewed by Carlos Garcia Campos.
Covered by existing tests.
* Source/WebCore/platform/graphics/skia/FontSkia.cpp:
(WebCore::Font::platformCreateHalfWidthFont const):
Canonical link: https://commits.webkit.org/313160@main
Canonical link: https://commits.webkit.org/305877.661@webkitglib/2.52
Compare: https://github.com/WebKit/WebKit/compare/b6a38f496a16...902100ab6943
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications