[wpt-sync] Sync PR 22302 - [Trusted Types] Worker constructor URLs are TrustedScriptURLs
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 22302 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/22302
Details from upstream follow.
Daniel Vogelheim <vogelheim@chromium.org> wrote:
[Trusted Types] Worker constructor URLs are TrustedScriptURLs
Make URLs used to construct workers TrustedScriptURLs.
Minor rework of how to get the execution context in the generated bindings,
because the old method assumed presence of an "impl" object, whichfor is
only created at the end in case of constructors. So insetead, implement a
method with which we can always obtain the execution context from the
v8::FunctionCallbackInfo.Bug: 1059684
Change-Id: I00e3e52cad5c3736105289a9fda1eeca15fd6f62
Reviewed-on: https://chromium-review.googlesource.com/2105339
WPT-Export-Revision: 96b206f4cd97ddacb9520d9d431a49383c478aa7
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=62b7756ff79e186595aac097962c5fda3537f792
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ab2e49a498f4 [wpt PR 22302] - [Trusted Types] Worker constructor URLs are TrustedScriptURLs, a=testonly https://hg.mozilla.org/integration/autoland/rev/f4e67f6d7400 [wpt PR 22302] - Update wpt metadata, a=testonly
Assignee | ||
Comment 3•4 years ago
|
||
Test result changes from PR not available.
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ab2e49a498f4
https://hg.mozilla.org/mozilla-central/rev/f4e67f6d7400
Description
•