<?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>276636</bug_id>
          
          <creation_ts>2024-07-15 16:51:37 -0700</creation_ts>
          <short_desc>PROGRESSION (280750@main): [ macOS wk1 ] imported/w3c/web-platform-tests/content-security-policy/reporting-api/reporting-api-report-only-sends-reports-on-violation.https.sub.html is a consistent failure.</short_desc>
          <delta_ts>2024-09-26 16:51:23 -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>Tools / Tests</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=276764</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=278293</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="Anfernee Viduya">aviduya</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fujii</cc>
    
    <cc>jbedard</cc>
    
    <cc>m_finkel</cc>
    
    <cc>nitinmahendru</cc>
    
    <cc>pgriffis</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2046372</commentid>
    <comment_count>0</comment_count>
    <who name="Anfernee Viduya">aviduya</who>
    <bug_when>2024-07-15 16:51:37 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/content-security-policy/reporting-api/reporting-api-report-only-sends-reports-on-violation.https.sub.html is consistently failing since 280750@main. 

HISTORY: 
https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fcontent-security-policy%2Freporting-api%2Freporting-api-report-only-sends-reports-on-violation.https.sub.html&amp;platform=mac&amp;architecture=arm64&amp;architecture=x86_64&amp;version_name=Sonoma&amp;version_name=Ventura&amp;flavor=wk1

DIFF:
 PASS Test that image does not load
 PASS Event is fired
-FAIL Violation report status OK. undefined is not an object (evaluating &apos;data[0][&quot;body&quot;]&apos;)
+PASS Violation report status OK.

LINK: 
https://build.webkit.org/results/Apple-Sonoma-Debug-AppleSilicon-WK1-Tests/280985@main%20(3593)/imported/w3c/web-platform-tests/content-security-policy/reporting-api/reporting-api-report-only-sends-reports-on-violation.https.sub-diff.txt

DESCRIPTION: 
It seems that in the commit, new WPT tests had been imported which caused this test to fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2046373</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-07-15 16:51:47 -0700</bug_when>
    <thetext>&lt;rdar://problem/131793062&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2046374</commentid>
    <comment_count>2</comment_count>
    <who name="Anfernee Viduya">aviduya</who>
    <bug_when>2024-07-15 16:55:29 -0700</bug_when>
    <thetext>REPRODUCIBILITY: 
I was able to reproduce this issue on ToT using command. 

run-webkit-tests --root 280977@main imported/w3c/web-platform-tests/content-security-policy/reporting-api/reporting-api-report-only-sends-reports-on-violation.https.sub.html -1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2046495</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2024-07-16 10:46:37 -0700</bug_when>
    <thetext>This result is a progression (going from FAIL to PASS), and the nature of the change in 280750@main is consistent with that.

EWS didn&apos;t catch this because the test &quot;failed&quot; on first try and then &quot;passed&quot; when run singly, which suggests a problem with the test and/or test harness.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2046551</commentid>
    <comment_count>4</comment_count>
    <who name="Anfernee Viduya">aviduya</who>
    <bug_when>2024-07-16 13:37:59 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #3)
&gt; This result is a progression (going from FAIL to PASS), and the nature of
&gt; the change in 280750@main is consistent with that.
&gt; 
&gt; EWS didn&apos;t catch this because the test &quot;failed&quot; on first try and then
&gt; &quot;passed&quot; when run singly, which suggests a problem with the test and/or test
&gt; harness.

Updating bug accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2046921</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2024-07-17 22:05:12 -0700</bug_when>
    <thetext>Seems like we just need a rebaseline.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2047546</commentid>
    <comment_count>6</comment_count>
    <who name="Anfernee Viduya">aviduya</who>
    <bug_when>2024-07-22 11:49:13 -0700</bug_when>
    <thetext>(In reply to Jonathan Bedard from comment #5)
&gt; Seems like we just need a rebaseline.

Initially I am hesitant on a re-baseline due to some queues being flakey and some being more consistent. I am currently seeking for guidance on a solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2051342</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-08-07 18:43:08 -0700</bug_when>
    <thetext>Committed 281973@main (1e5569ce34e2): &lt;https://commits.webkit.org/281973@main&gt;

Reviewed commits have been landed. Closing PR #31879 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2063527</commentid>
    <comment_count>8</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-09-26 16:51:23 -0700</bug_when>
    <thetext>284268@main reverted 280750@main and removed wk1 specific expectation. It is failing now again.

https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fcontent-security-policy%2Freporting-api%2Freporting-api-report-only-sends-reports-on-violation.https.sub.html&amp;flavor=wk1

This is the new text diff.

https://build.webkit.org/results/Apple-Sequoia-Release-AppleSilicon-WK1-Tests/284268@main%20(79)/imported/w3c/web-platform-tests/content-security-policy/reporting-api/reporting-api-report-only-sends-reports-on-violation.https.sub-diff.txt

--- /Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK1-Tests/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/reporting-api/reporting-api-report-only-sends-reports-on-violation.https.sub-expected.txt
+++ /Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK1-Tests/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/reporting-api/reporting-api-report-only-sends-reports-on-violation.https.sub-actual.txt
@@ -1,6 +1,8 @@
+CONSOLE MESSAGE: [Report Only] Refused to load https://localhost:9443/content-security-policy/support/fail.png because it does not appear in the img-src directive of the Content Security Policy.
+CONSOLE MESSAGE: [Report Only] Refused to load https://localhost:9443/content-security-policy/support/fail.png because it does not appear in the img-src directive of the Content Security Policy.
 
 
 PASS Test that image does not load
 PASS Event is fired
-PASS Violation report status OK.
+FAIL Violation report status OK. undefined is not an object (evaluating &apos;data[0][&quot;body&quot;]&apos;)



This problem will be fixed by re-syncing wpt/tools.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>