Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a07ed2d34cca0026f33d49481f21b93fc929af09
      
https://github.com/WebKit/WebKit/commit/a07ed2d34cca0026f33d49481f21b93fc929af09
  Author: Anne van Kesteren <[email protected]>
  Date:   2024-09-04 (Wed, 04 Sep 2024)

  Changed paths:
    M 
LayoutTests/security/contentSecurityPolicy/object-src-none-blocks-youtube-plugin-replacement.html
    M 
LayoutTests/security/contentSecurityPolicy/plugins-types-allows-youtube-plugin-replacement.html
    M 
LayoutTests/security/contentSecurityPolicy/plugins-types-blocks-youtube-plugin-replacement-without-mime-type.html
    M 
LayoutTests/security/contentSecurityPolicy/plugins-types-blocks-youtube-plugin-replacement.html
    M Source/WebCore/Modules/plugins/PluginReplacement.h
    M Source/WebCore/Modules/plugins/YouTubePluginReplacement.cpp
    M Source/WebCore/Modules/plugins/YouTubePluginReplacement.h
    M Source/WebCore/html/HTMLPlugInElement.cpp
    M Source/WebCore/page/Settings.yaml

  Log Message:
  -----------
  Enable YouTube plugin replacement for all of WebKit
https://bugs.webkit.org/show_bug.cgi?id=278957

Reviewed by Michael Catanzaro and Sam Weinig.

It's about to be standardized and therefore this should work for all
WebKit ports.

* 
LayoutTests/security/contentSecurityPolicy/object-src-none-blocks-youtube-plugin-replacement.html:
* 
LayoutTests/security/contentSecurityPolicy/plugins-types-allows-youtube-plugin-replacement.html:
* 
LayoutTests/security/contentSecurityPolicy/plugins-types-blocks-youtube-plugin-replacement-without-mime-type.html:
* 
LayoutTests/security/contentSecurityPolicy/plugins-types-blocks-youtube-plugin-replacement.html:
* Source/WebCore/Modules/plugins/PluginReplacement.h:
(WebCore::ReplacementPlugin::ReplacementPlugin):
(WebCore::ReplacementPlugin::supportsURL const):
(WebCore::ReplacementPlugin::isEnabledBySettings const): Deleted.
* Source/WebCore/Modules/plugins/YouTubePluginReplacement.cpp:
(WebCore::YouTubePluginReplacement::registerPluginReplacement):
(WebCore::YouTubePluginReplacement::isEnabledBySettings): Deleted.
* Source/WebCore/Modules/plugins/YouTubePluginReplacement.h:
* Source/WebCore/html/HTMLPlugInElement.cpp:
(WebCore::HTMLPlugInElement::requestObject):
* Source/WebCore/page/Settings.yaml:

Canonical link: https://commits.webkit.org/283191@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

Reply via email to