<?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>237603</bug_id>
          
          <creation_ts>2022-03-08 06:36:29 -0800</creation_ts>
          <short_desc>[ iOS ] 2 imported/w3c/web-platform-tests/content-security-policy/connect-src/* tests are flaky text failures</short_desc>
          <delta_ts>2022-03-10 14:34:46 -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>Page Loading</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Dawn Morningstar">Morningstar</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>beidson</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>pgriffis</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>1849233</commentid>
    <comment_count>0</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2022-03-08 06:36:29 -0800</bug_when>
    <thetext>imported/w3c/web-platform-tests/content-security-policy/connect-src/shared-worker-connect-src-allowed.sub.html
imported/w3c/web-platform-tests/content-security-policy/connect-src/shared-worker-connect-src-blocked.sub.html 
are both flaky text failures on iOS queues. 

Regression may be around r289514. Further investigation is required.

HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fcontent-security-policy%2Fconnect-src%2Fshared-worker-connect-src-allowed.sub.html&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fcontent-security-policy%2Fconnect-src%2Fshared-worker-connect-src-blocked.sub.html&amp;platform=ios

imported/w3c/web-platform-tests/content-security-policy/connect-src/shared-worker-connect-src-allowed.sub.html
DIFF:
--- /Volumes/Data/worker/ipados-simulator-15-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/connect-src/shared-worker-connect-src-allowed.sub-expected.txt
+++ /Volumes/Data/worker/ipados-simulator-15-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/connect-src/shared-worker-connect-src-allowed.sub-actual.txt
@@ -1,3 +1,3 @@
 
-FAIL Expecting logs: [&quot;xhr allowed&quot;,&quot;TEST COMPLETE&quot;] assert_unreached: unexpected log: xhr blocked Reached unreachable code
+FAIL Expecting logs: [&quot;xhr allowed&quot;,&quot;TEST COMPLETE&quot;] assert_unreached: Logging timeout, expected logs xhr allowed,TEST COMPLETE not sent. Reached unreachable code
 
DIFF-URL:
https://build.webkit.org/results/Apple-iPadOS-15-Simulator-Release-WK2-Tests/r290762%20(1185)/imported/w3c/web-platform-tests/content-security-policy/connect-src/shared-worker-connect-src-allowed.sub-diff.txt



imported/w3c/web-platform-tests/content-security-policy/connect-src/shared-worker-connect-src-blocked.sub.html 
DIFF:
--- /Volumes/Data/worker/ipados-simulator-15-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/connect-src/shared-worker-connect-src-blocked.sub-expected.txt
+++ /Volumes/Data/worker/ipados-simulator-15-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/connect-src/shared-worker-connect-src-blocked.sub-actual.txt
@@ -1,5 +1,5 @@
 This test loads a shared worker, delivered with its own policy. The worker should be blocked from making an XHR as that policy specifies a connect-src &apos;none&apos;, though this resource&apos;s policy is connect-src *. No report should be sent since the worker&apos;s policy doesn&apos;t specify a report-uri.
 
 
-PASS Expecting logs: [&quot;xhr blocked&quot;,&quot;TEST COMPLETE&quot;]
+FAIL Expecting logs: [&quot;xhr blocked&quot;,&quot;TEST COMPLETE&quot;] assert_unreached: Logging timeout, expected logs xhr blocked,TEST COMPLETE not sent. Reached unreachable code
 
DIFF-URL:
https://build.webkit.org/results/Apple-iPadOS-15-Simulator-Release-WK2-Tests/r290762%20(1185)/imported/w3c/web-platform-tests/content-security-policy/connect-src/shared-worker-connect-src-blocked.sub-diff.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1849234</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-03-08 06:36:58 -0800</bug_when>
    <thetext>&lt;rdar://problem/89965072&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1849793</commentid>
    <comment_count>2</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2022-03-09 11:49:43 -0800</bug_when>
    <thetext>marking expectations until further investigation can occur.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1849798</commentid>
    <comment_count>3</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2022-03-09 12:01:38 -0800</bug_when>
    <thetext>Expectations updated with r291059</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1849851</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2022-03-09 14:36:54 -0800</bug_when>
    <thetext>Based on commits that landed shortly before the first failure, https://commits.webkit.org/247042@main seems like it could be related as it was about the SharedWorker process on iOS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1849853</commentid>
    <comment_count>5</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-03-09 14:42:22 -0800</bug_when>
    <thetext>(In reply to Ryan Haddad from comment #4)
&gt; Based on commits that landed shortly before the first failure,
&gt; https://commits.webkit.org/247042@main seems like it could be related as it
&gt; was about the SharedWorker process on iOS.

Flaky timeouts could indeed indicate that we&apos;re failing to take a process assertion on iOS. I can investigate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1850248</commentid>
    <comment_count>6</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-03-10 14:34:46 -0800</bug_when>
    <thetext>(In reply to Chris Dumez from comment #5)
&gt; (In reply to Ryan Haddad from comment #4)
&gt; &gt; Based on commits that landed shortly before the first failure,
&gt; &gt; https://commits.webkit.org/247042@main seems like it could be related as it
&gt; &gt; was about the SharedWorker process on iOS.
&gt; 
&gt; Flaky timeouts could indeed indicate that we&apos;re failing to take a process
&gt; assertion on iOS. I can investigate.

I haven&apos;t been able to reproduce so far, even by forcing the shared worker into its own separate process (which is more likely to trigger process suspension).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>