Closed Bug 1893132 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 45872 - WPT: COEP: require-corp should also be set in the loaded script

Categories

(Core :: DOM: Workers, task, P4)

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 45872 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/45872
Details from upstream follow.

Yoshisato Yanagisawa <yyanagisawa@chromium.org> wrote:

WPT: COEP: require-corp should also be set in the loaded script

Since an HTML file that creates a worker is under COEP, the worker
script should also have the same COEP header. Otherwise, the file may
not be loaded due to the COEP violation.

Note that even with this change, Chromium still fails with timeout because
code to create a dedicated worker is not fully parallel.
(See crbug.com/40687798).

Bug: 334026778, 40687798
Change-Id: I86ad8dde5b6d21aef88ab18e63a81f9486b3e276
Reviewed-on: https://chromium-review.googlesource.com/5480214
WPT-Export-Revision: 8ac8ece02ce17c4750d92cb4710ee49b18b52ef2

Component: web-platform-tests → DOM: Workers
Product: Testing → Core
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a2dd0e53fb74 [wpt PR 45872] - WPT: COEP: require-corp should also be set in the loaded script, a=testonly
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.