Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3da2cfe70568ea9972d94d25c74494caf3522817
https://github.com/WebKit/WebKit/commit/3da2cfe70568ea9972d94d25c74494caf3522817
Author: Eric Carlson <[email protected]>
Date: 2025-10-15 (Wed, 15 Oct 2025)
Changed paths:
M Source/WebCore/loader/ImageLoader.cpp
M Source/WebCore/style/StylePendingResources.cpp
Log Message:
-----------
REGRESSION: Media control icons can be blocked by the content blocker after
299342@main
https://bugs.webkit.org/show_bug.cgi?id=300846
rdar://161674785
Reviewed by Jer Noble.
299342@main switched from using a `data:` url for the images in media control
buttons to
loading a native image from the file system, creating a `blob:` url, and using
that to
set an <image> element's src attribute. Images loaded for the default media
controls are
subject to content blocker rules, so applications that configure the content
blocker to
disallow `blob:` urls have no images in the default media controls.
Images loaded for the default media controls are already exempt from CORS
checks, so also
allow them to skip content blocker checks.
* Source/WebCore/loader/ImageLoader.cpp:
(WebCore::ImageLoader::updateFromElement):
* Source/WebCore/style/StylePendingResources.cpp:
(WebCore::Style::loadPendingImage):
Canonical link: https://commits.webkit.org/301602@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes