Bug 264258 - [ Ventura+ wk1 Release ] http/wpt/workers/modules/dedicated-worker-import-csp.html is a near-constant failure.
Summary: [ Ventura+ wk1 Release ] http/wpt/workers/modules/dedicated-worker-import-csp...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Service Workers (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-06 07:59 PST by Ben Schwartz
Modified: 2023-11-06 07:59 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Schwartz 2023-11-06 07:59:34 PST
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&test=http%2Fwpt%2Fworkers%2Fmodules%2Fdedicated-worker-import-csp.html&recent=false&flavor=wk1&platform=mac&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 'self' directive should disallow cross origin static import. assert_array_equals: expected property 0 to be "ERROR" but got "export-on-load-script.js" (expected array ["ERROR"] got ["export-on-load-script.js"])
-PASS worker-src * directive should allow cross origin static import.
-FAIL script-src 'self' directive should disallow cross origin static import. assert_array_equals: expected property 0 to be "ERROR" but got "export-on-load-script.js" (expected array ["ERROR"] got ["export-on-load-script.js"])
-PASS script-src * directive should allow cross origin static import.
-PASS worker-src * directive should override script-src 'self' directive and allow cross origin static import.
-FAIL worker-src 'self' directive should override script-src * directive and disallow cross origin static import. assert_array_equals: expected property 0 to be "ERROR" but got "export-on-load-script.js" (expected array ["ERROR"] got ["export-on-load-script.js"])
-PASS script-src-elem 'self' directive should not take effect on static import.
+PASS worker-src 'self' 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 "export-on-load-script.js" but got "ERROR" (expected array ["export-on-load-script.js"] got ["ERROR"])
+PASS script-src 'self' 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 "export-on-load-script.js" but got "ERROR" (expected array ["export-on-load-script.js"] got ["ERROR"])
+FAIL worker-src * directive should override script-src 'self' directive and allow cross origin static import. assert_array_equals: expected property 0 to be "export-on-load-script.js" but got "ERROR" (expected array ["export-on-load-script.js"] got ["ERROR"])
+PASS worker-src 'self' directive should override script-src * directive and disallow cross origin static import.
+FAIL script-src-elem 'self' directive should not take effect on static import. assert_array_equals: expected property 0 to be "export-on-load-script.js" but got "ERROR" (expected array ["export-on-load-script.js"] got ["ERROR"])
 PASS script-src 'self' directive should disallow cross origin dynamic import.
 PASS script-src-elem 'self' directive should disallow cross origin dynamic import.
-PASS script-src * directive should allow cross origin dynamic import.
-PASS worker-src 'self' 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 "export-on-load-script.js" but got "ERROR" (expected array ["export-on-load-script.js"] got ["ERROR"])
+FAIL worker-src 'self' directive should not take effect on dynamic import. assert_array_equals: expected property 0 to be "export-on-load-script.js" but got "ERROR" (expected array ["export-on-load-script.js"] got ["ERROR"])
 
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.
Comment 1 Radar WebKit Bug Importer 2023-11-06 07:59:48 PST
<rdar://problem/117999413>