<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>220724</bug_id>
          
          <creation_ts>2021-01-19 00:57:17 -0800</creation_ts>
          <short_desc>CSP: Consider dropping support for &apos;plugin-types&apos;</short_desc>
          <delta_ts>2026-04-10 09:45:29 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Antonio Sartori">antoniosartori</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1720483</commentid>
    <comment_count>0</comment_count>
    <who name="Antonio Sartori">antoniosartori</who>
    <bug_when>2021-01-19 00:57:17 -0800</bug_when>
    <thetext>There is a discussion on the Content Security Policy spec about removing the &apos;plugin-types&apos; directive, which is not that helpful anymore since Flash support has been discontinued, see https://github.com/w3c/webappsec-csp/issues/394.

Would WebKit be also interested in dropping that?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1721445</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-01-21 18:15:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/73478460&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1731306</commentid>
    <comment_count>2</comment_count>
    <who name="Antonio Sartori">antoniosartori</who>
    <bug_when>2021-02-19 04:36:46 -0800</bug_when>
    <thetext>Notice that even if it looks like WebKit does not support plugin-types (https://wpt.fyi/results/content-security-policy/plugin-types?label=master&amp;label=experimental&amp;aligned, https://wpt.fyi/results/content-security-policy/plugin-types?sha=f207cfdd15&amp;label=master&amp;max-count=1), there seems to be some plugin-types related check in the code https://github.com/WebKit/WebKit/blob/main/Source/WebCore/html/HTMLPlugInImageElement.cpp#L304</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2197722</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2026-04-07 12:30:34 -0700</bug_when>
    <thetext>Indeed, this was completely removed. See https://github.com/w3c/webappsec-csp/pull/456.

This is now creating compatibility issues so we should clean this up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2197723</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2026-04-07 12:33:08 -0700</bug_when>
    <thetext>This is now tracked by:
&lt;rdar://problem/144415855&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2197732</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2026-04-07 13:04:06 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/62211</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2198835</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-10 09:45:26 -0700</bug_when>
    <thetext>Committed 310938@main (488d5d7e89af): &lt;https://commits.webkit.org/310938@main&gt;

Reviewed commits have been landed. Closing PR #62211 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>