<?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>155196</bug_id>
          
          <creation_ts>2016-03-08 14:01:10 -0800</creation_ts>
          <short_desc>security/contentSecurityPolicy/video-with-blob-url-allowed-by-media-src-star.html and security/contentSecurityPolicy/video-with-data-url-allowed-by-media-src-star.html are flaky</short_desc>
          <delta_ts>2026-05-04 10:02:47 -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 Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=154122</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=222840</see_also>
    
    <see_also>https://github.com/web-platform-tests/wpt/pull/59638</see_also>
          <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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          <cc>ap</cc>
    
    <cc>ayumi_kojima</cc>
    
    <cc>bfulgham</cc>
    
    <cc>clopez</cc>
    
    <cc>dbates</cc>
    
    <cc>jiewen_tan</cc>
    
    <cc>repstein</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1172213</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-03-08 14:01:10 -0800</bug_when>
    <thetext>Two media/video-with-* tests added with r197724 are flaky on El Capitan

media/video-with-blob-url-allowed-by-csp-media-src-star.html
media/video-with-data-url-allowed-by-csp-media-src-star.html
&lt;https://build.webkit.org/results/Apple%20El%20Capitan%20Release%20WK1%20(Tests)/r197791%20(4170)/results.html&gt;

Flakiness dashboard links:
&lt;https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=media%2Fvideo-with-blob-url-allowed-by-csp-media-src-star.html&gt;
&lt;https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=media%2Fvideo-with-data-url-allowed-by-csp-media-src-star.html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172316</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-03-08 17:15:58 -0800</bug_when>
    <thetext>At least in this example, it looks like the ACTUAL result is correct, and the EXPECTED result is incorrect for both tests:
&lt;https://build.webkit.org/results/Apple%20El%20Capitan%20Release%20WK1%20(Tests)/r197819%20(4188)/results.html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172550</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-03-09 09:09:07 -0800</bug_when>
    <thetext>The tests are super flaky, failing around half of the time. Dan, could you please take a look?

There was one failure on Yosemite too, so this may not be El Capitan specific.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172804</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-03-09 15:04:02 -0800</bug_when>
    <thetext>Dan should be able to look at this shortly. Skipped tests to reduce noise in &lt;http://trac.webkit.org/projects/webkit/changeset/197890&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188175</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2016-04-28 01:03:51 -0700</bug_when>
    <thetext>Skipped test LayoutTests/media/video-with-file-url-allowed-by-csp-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html (added in bug #157100) in &lt;https://trac.webkit.org/r200180&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188303</commentid>
    <comment_count>5</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-04-28 10:37:49 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Skipped test
&gt; LayoutTests/media/video-with-file-url-allowed-by-csp-media-src-star-with-
&gt; AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html (added
&gt; in bug #157100) in &lt;https://trac.webkit.org/r200180&gt;

It appears that this test is also flaky on WK2
&lt;http://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=media%2Fvideo-with-file-url-allowed-by-csp-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188305</commentid>
    <comment_count>6</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-04-28 10:58:16 -0700</bug_when>
    <thetext>Moved skip(In reply to comment #5)
&gt; It appears that this test is also flaky on WK2
&gt; &lt;http://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.
&gt; html#showAllRuns=true&amp;tests=media%2Fvideo-with-file-url-allowed-by-csp-media-
&gt; src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.
&gt; html&gt;

Moved skip to platform/mac/TestExpectations in &lt;http://trac.webkit.org/projects/webkit/changeset/200199&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202991</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2016-06-16 14:15:20 -0700</bug_when>
    <thetext>&lt;rdar://problem/26846436&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1203422</commentid>
    <comment_count>8</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-06-17 14:30:43 -0700</bug_when>
    <thetext>Also skipped security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star.html in https://trac.webkit.org/r202180</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1203872</commentid>
    <comment_count>9</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-06-20 13:34:17 -0700</bug_when>
    <thetext>Updated test expectations in &lt;http://trac.webkit.org/r202235&gt;.

Changed from skipping to flaky, because there is no reason to not run these tests, and it&apos;s good to have results on the dashboard. Also added one more test from this group, which was making bots red.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1203915</commentid>
    <comment_count>10</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-06-20 15:31:37 -0700</bug_when>
    <thetext>Skipped security/contentSecurityPolicy/video-with-blob-url-allowed-by-media-src-star.html on WebKit1 only again, because is times out every time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1546968</commentid>
    <comment_count>11</comment_count>
    <who name="Russell Epstein">repstein</who>
    <bug_when>2019-06-21 13:30:20 -0700</bug_when>
    <thetext>security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html appears to be flaky on iOS Simulator as well, with the same diff.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1746537</commentid>
    <comment_count>12</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-04-02 09:53:36 -0700</bug_when>
    <thetext>The same issue happens on GTK and WPE.

https://build.webkit.org/results/WPE-Linux-64-bit-Release-Tests/r275404%20(975)/security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star-diffs.html

Updated expectations on r275423</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1787226</commentid>
    <comment_count>13</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-08-25 11:16:59 -0700</bug_when>
    <thetext>security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star.html is flaky on iOS-14-Simulator-WK2-Tests-EWS and the flaky failure is seen on the open source directory.

security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html mentioned above seems to be still flaky on the open source.

History: https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;test=security%2FcontentSecurityPolicy%2Fvideo-with-file-url-allowed-by-media-src-star.html&amp;test=security%2FcontentSecurityPolicy%2Fvideo-with-file-url-allowed-by-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html

Marked expectations for those two tests here:  https://trac.webkit.org/changeset/281566/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801700</commentid>
    <comment_count>14</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-07 11:58:36 -0700</bug_when>
    <thetext>For security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html,

the same images failure is seen on iOS 15 Debug and continue seeing on all other platforms. 

Updated test expectations : https://trac.webkit.org/changeset/283730/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2205494</commentid>
    <comment_count>15</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2026-04-28 14:44:35 -0700</bug_when>
    <thetext>*** Bug 222840 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2205495</commentid>
    <comment_count>16</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2026-04-28 14:46:11 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/63833</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2207235</commentid>
    <comment_count>17</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-05-04 09:54:50 -0700</bug_when>
    <thetext>Committed 312528@main (a391efe1e1cf): &lt;https://commits.webkit.org/312528@main&gt;

Reviewed commits have been landed. Closing PR #63833 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2207239</commentid>
    <comment_count>18</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2026-05-04 10:02:47 -0700</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/59638</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>