Closed Bug 1626690 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 22612 - [Trusted Types] Add default policy callback arguments

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

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

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

Daniel Vogelheim <vogelheim@chromium.org> wrote:

[Trusted Types] Add default policy callback arguments

This adds the type name and sink name as arguments to the default policy
callback. This adapts the implementation to the spec in:
https://w3c.github.io/webappsec-trusted-types/dist/spec/#process-value-with-a-default-policy-algorithm

Bug: 940875
Change-Id: I636a3b51fb7940cd95c2bc1ba8f2f85b7b5f7ebe
Reviewed-on: https://chromium-review.googlesource.com/2132377
WPT-Export-Revision: 278c2950f45b1cc69ab19cc67ad4e4994be0f585

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/44cd6813cfd4 [wpt PR 22612] - [Trusted Types] Add default policy callback arguments, a=testonly https://hg.mozilla.org/integration/autoland/rev/300329681926 [wpt PR 22612] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.