Bug 260111
| 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: | New Bugs | Assignee: | youenn fablet <youennf> |
| Status: | RESOLVED MOVED | ||
| Severity: | Normal | CC: | webkit-bot-watchers-bugzilla, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=260107 https://bugs.webkit.org/show_bug.cgi?id=264258 |
||
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:
-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"])
-FAIL script-src 'self' directive should disallow cross origin dynamic 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 dynamic import.
-PASS worker-src 'self' directive should not take effect on dynamic 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.
+PASS script-src 'self' directive should disallow cross origin 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-Ventura-Release-AppleSilicon-WK1-Tests/266816@main%20(4662)/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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/113780242>
Ben Schwartz
I have marked this test as a constant failure while this issue is investigated. (PR link: https://github.com/WebKit/WebKit/pull/16635)
EWS
Test gardening commit 266842@main (a86e80526246): <https://commits.webkit.org/266842@main>
Reviewed commits have been landed. Closing PR #16635 and removing active labels.
youenn fablet
Pull request: https://github.com/WebKit/WebKit/pull/19231
EWS
Committed 269538@main (19432c811205): <https://commits.webkit.org/269538@main>
Reviewed commits have been landed. Closing PR #19231 and removing active labels.
Ben Schwartz
Re-opening, as this issue was not resolved by the changes landed in 269538@main.
With this progression, there's an addition at the top of the 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.
https://build.webkit.org/results/Apple-Sonoma-Release-AppleSilicon-WK1-Tests/270172@main%20(556)/http/wpt/workers/modules/dedicated-worker-import-csp-diff.txt
Ben Schwartz
Landing revised test expectation (changed to Ventura+, Pass/Failure)
EWS
Test gardening commit 270178@main (760493829076): <https://commits.webkit.org/270178@main>
Reviewed commits have been landed. Closing PR #19955 and removing active labels.
Ben Schwartz
Closing, but issue not resolved. Continuing in bug #264258.