<?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>155773</bug_id>
          
          <creation_ts>2016-03-22 15:51:45 -0700</creation_ts>
          <short_desc>CSP: Log deprecation warning for frame-src directive</short_desc>
          <delta_ts>2022-03-25 12:50:41 -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>WebCore Misc.</component>
          <version>WebKit Local Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=155777</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Bates">dbates</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1177173</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2016-03-22 15:51:45 -0700</bug_when>
    <thetext>The frame-src directive has been deprecated since CSP 2.0, &lt;https://www.w3.org/TR/2015/CR-CSP2-20150721/#directive-frame-src&gt;. Its replacement is the child-src directive. We should consider showing a console warning message when a Content Security Policy has a frame-src directive.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1177174</commentid>
    <comment_count>1</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2016-03-22 15:52:45 -0700</bug_when>
    <thetext>Maybe we should log a message of the form:

The frame-src directive is deprecated. Use the child-src directive instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1855207</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-03-25 12:50:25 -0700</bug_when>
    <thetext>Ironically, the frame-src directive is no longer deprecated, and child-src is!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>