Bug 264258
Summary: | [ Ventura+ wk1 Release ] http/wpt/workers/modules/dedicated-worker-import-csp.html is a near-constant failure. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ben Schwartz <ben_schwartz> |
Component: | Service Workers | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=260111 |
Ben Schwartz
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/117999413>