<?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>228245</bug_id>
          
          <creation_ts>2021-07-23 13:52:42 -0700</creation_ts>
          <short_desc>[BigSur wk1 Release arm64] imported/w3c/web-platform-tests/workers/modules/shared-worker-import-csp.html  is a flaky failure</short_desc>
          <delta_ts>2021-09-15 12:13:12 -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>Service Workers</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="Eric Hutchison">ehutchison</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>ehutchison</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1779161</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Hutchison">ehutchison</who>
    <bug_when>2021-07-23 13:52:42 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/workers/modules/shared-worker-import-csp.html 

is a flaky failure on BigSur wk1 Release arm64 since test release on platform.

History: https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fworkers%2Fmodules%2Fshared-worker-import-csp.html&amp;platform=ios&amp;platform=mac

Diff: 

--- /Volumes/Data/worker/bigsur-release-applesilicon-tests-wk1/build/layout-test-results/imported/w3c/web-platform-tests/workers/modules/shared-worker-import-csp-expected.txt
+++ /Volumes/Data/worker/bigsur-release-applesilicon-tests-wk1/build/layout-test-results/imported/w3c/web-platform-tests/workers/modules/shared-worker-import-csp-actual.txt
@@ -14,15 +14,4 @@
 CONSOLE MESSAGE: ReferenceError: Can&apos;t find variable: SharedWorker
 CONSOLE MESSAGE: ReferenceError: Can&apos;t find variable: SharedWorker
 CONSOLE MESSAGE: ReferenceError: Can&apos;t find variable: SharedWorker
-CONSOLE MESSAGE: ReferenceError: Can&apos;t find variable: SharedWorker
 
-FAIL worker-src &apos;self&apos; directive should disallow cross origin static import. assert_array_equals: value is object &quot;[object Object]&quot;, expected array
-FAIL worker-src * directive should allow cross origin static import. assert_array_equals: value is object &quot;[object Object]&quot;, expected array
-FAIL script-src &apos;self&apos; directive should disallow cross origin static import. assert_array_equals: value is object &quot;[object Object]&quot;, expected array
-FAIL script-src * directive should allow cross origin static import. assert_array_equals: value is object &quot;[object Object]&quot;, expected array
-FAIL worker-src * directive should override script-src &apos;self&apos; directive and allow cross origin static import. assert_array_equals: value is object &quot;[object Object]&quot;, expected array
-FAIL worker-src &apos;self&apos; directive should override script-src * directive and disallow cross origin static import. assert_array_equals: value is object &quot;[object Object]&quot;, expected array
-FAIL script-src &apos;self&apos; directive should disallow cross origin dynamic import. assert_array_equals: value is object &quot;[object Object]&quot;, expected array
-FAIL script-src * directive should allow cross origin dynamic import. assert_array_equals: value is object &quot;[object Object]&quot;, expected array
-FAIL worker-src &apos;self&apos; directive should not take effect on dynamic import. assert_array_equals: value is object &quot;[object Object]&quot;, expected array
-

Reproduced using run-webkit-tests -1 --iterations 500 --exit-after-n-failures 2 -f imported/w3c/web-platform-tests/workers/modules/shared-worker-import-csp.html on r280247</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1779162</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-07-23 13:53:37 -0700</bug_when>
    <thetext>&lt;rdar://problem/81034895&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1779164</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Hutchison">ehutchison</who>
    <bug_when>2021-07-23 14:01:18 -0700</bug_when>
    <thetext>Updated test expectations on https://trac.webkit.org/changeset/280257/webkit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1793797</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2021-09-15 12:13:12 -0700</bug_when>
    <thetext>Seems to have to do with the following code in LayoutTests/resources/testharnessreport.js:

```
// Wait for any other completion callbacks, which may eliminate test elements
// from the page and therefore reduce the output.
setTimeout(function () {
    testRunner.forceImmediateCompletion();
}, 0);
```

The 0 timer here seems to sometimes cause the test to finish before all the windows have closed (Test relies on `add_result_callback(() =&gt; win.close());`) and it affects the output.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>