<?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>117286</bug_id>
          
          <creation_ts>2013-06-06 00:59:33 -0700</creation_ts>
          <short_desc>Reporting mode of Content Security Policy: eval() is not reported</short_desc>
          <delta_ts>2015-12-10 17:20:42 -0800</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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>111869</dup_id>
          
          <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>0</everconfirmed>
          <reporter>masch</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dbates</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>897669</commentid>
    <comment_count>0</comment_count>
    <who name="">masch</who>
    <bug_when>2013-06-06 00:59:33 -0700</bug_when>
    <thetext>Follow-up to bug 111867 which is solved with Chrome 27 (version 27.0.1453.110 m).
Now any usage of eval() isn&apos;t reported anymore in reporting-mode (but still blocked in non-reporting-mode).

Example:
&lt;!DOCTYPE html&gt;
&lt;html&gt;
  &lt;meta http-equiv=&quot;Content-Security-Policy-Report-Only&quot;   content=&quot;default-src &apos;self&apos; &apos;unsafe-inline&apos;; report-uri /dummy.html&quot;/&gt;		
  &lt;head&gt;
    &lt;script src=&quot;CSP.js&quot;&gt;&lt;/script&gt;
    &lt;script&gt;
      eval(&apos;alert(2);&apos;);	
    &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;/body&gt;
&lt;/html&gt;

CSP.js:
  eval(&apos;alert(1);&apos;);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1148353</commentid>
    <comment_count>1</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2015-12-10 17:20:42 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 111869 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>