<?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>264258</bug_id>
          
          <creation_ts>2023-11-06 07:59:34 -0800</creation_ts>
          <short_desc>[ Ventura+ wk1 Release ] http/wpt/workers/modules/dedicated-worker-import-csp.html is a near-constant failure.</short_desc>
          <delta_ts>2026-01-06 13:08:13 -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>Service Workers</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=260111</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="Ben Schwartz">ben_schwartz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <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>1990174</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-11-06 07:59:34 -0800</bug_when>
    <thetext>http/wpt/workers/modules/dedicated-worker-import-csp.html

This test is a constant failure on macOS Ventura WK1 release.

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;test=http%2Fwpt%2Fworkers%2Fmodules%2Fdedicated-worker-import-csp.html&amp;recent=false&amp;flavor=wk1&amp;platform=mac&amp;style=release

TEXT DIFF:

+CONSOLE MESSAGE: Importing a module script failed.
+CONSOLE MESSAGE: Importing a module script failed.
+CONSOLE MESSAGE: Importing a module script failed.
+CONSOLE MESSAGE: Importing a module script failed.
+CONSOLE MESSAGE: Importing a module script failed.
+CONSOLE MESSAGE: Importing a module script failed.
+CONSOLE MESSAGE: Importing a module script failed.
 
-FAIL worker-src &apos;self&apos; directive should disallow cross origin static import. assert_array_equals: expected property 0 to be &quot;ERROR&quot; but got &quot;export-on-load-script.js&quot; (expected array [&quot;ERROR&quot;] got [&quot;export-on-load-script.js&quot;])
-PASS worker-src * directive should allow cross origin static import.
-FAIL script-src &apos;self&apos; directive should disallow cross origin static import. assert_array_equals: expected property 0 to be &quot;ERROR&quot; but got &quot;export-on-load-script.js&quot; (expected array [&quot;ERROR&quot;] got [&quot;export-on-load-script.js&quot;])
-PASS script-src * directive should allow cross origin static import.
-PASS worker-src * directive should override script-src &apos;self&apos; directive and allow cross origin static import.
-FAIL worker-src &apos;self&apos; directive should override script-src * directive and disallow cross origin static import. assert_array_equals: expected property 0 to be &quot;ERROR&quot; but got &quot;export-on-load-script.js&quot; (expected array [&quot;ERROR&quot;] got [&quot;export-on-load-script.js&quot;])
-PASS script-src-elem &apos;self&apos; directive should not take effect on static import.
+PASS worker-src &apos;self&apos; directive should disallow cross origin static import.
+FAIL worker-src * directive should allow cross origin static import. assert_array_equals: expected property 0 to be &quot;export-on-load-script.js&quot; but got &quot;ERROR&quot; (expected array [&quot;export-on-load-script.js&quot;] got [&quot;ERROR&quot;])
+PASS script-src &apos;self&apos; directive should disallow cross origin static import.
+FAIL script-src * directive should allow cross origin static import. assert_array_equals: expected property 0 to be &quot;export-on-load-script.js&quot; but got &quot;ERROR&quot; (expected array [&quot;export-on-load-script.js&quot;] got [&quot;ERROR&quot;])
+FAIL worker-src * directive should override script-src &apos;self&apos; directive and allow cross origin static import. assert_array_equals: expected property 0 to be &quot;export-on-load-script.js&quot; but got &quot;ERROR&quot; (expected array [&quot;export-on-load-script.js&quot;] got [&quot;ERROR&quot;])
+PASS worker-src &apos;self&apos; directive should override script-src * directive and disallow cross origin static import.
+FAIL script-src-elem &apos;self&apos; directive should not take effect on static import. assert_array_equals: expected property 0 to be &quot;export-on-load-script.js&quot; but got &quot;ERROR&quot; (expected array [&quot;export-on-load-script.js&quot;] got [&quot;ERROR&quot;])
 PASS script-src &apos;self&apos; directive should disallow cross origin dynamic import.
 PASS script-src-elem &apos;self&apos; directive should disallow cross origin dynamic import.
-PASS script-src * directive should allow cross origin dynamic import.
-PASS worker-src &apos;self&apos; directive should not take effect on dynamic import.
+FAIL script-src * directive should allow cross origin dynamic import. assert_array_equals: expected property 0 to be &quot;export-on-load-script.js&quot; but got &quot;ERROR&quot; (expected array [&quot;export-on-load-script.js&quot;] got [&quot;ERROR&quot;])
+FAIL worker-src &apos;self&apos; directive should not take effect on dynamic import. assert_array_equals: expected property 0 to be &quot;export-on-load-script.js&quot; but got &quot;ERROR&quot; (expected array [&quot;export-on-load-script.js&quot;] got [&quot;ERROR&quot;])
 
DIFF URL:

https://build.webkit.org/results/Apple-Sonoma-Release-AppleSilicon-WK1-Tests/270265@main%20(600)/http/wpt/workers/modules/dedicated-worker-import-csp-pretty-diff.html

REPRODUCTION:

I was able to unreproduce this bug on the reported platform (arm64).

REGRESSION:

There is no clear regression as this is a WPT test imported at 266801@main. The attempted fix landed at 269538@main did not resolve the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1990175</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-06 07:59:48 -0800</bug_when>
    <thetext>&lt;rdar://problem/117999413&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2169733</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2026-01-06 13:08:13 -0800</bug_when>
    <thetext>Closing WebKitLegacy testing bugs as we cut-back WebKitLegacy testing. See https://bugs.webkit.org/show_bug.cgi?id=304436.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>