Closed Bug 1592674 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 19997 - [Trusted Types] Fully support eval(TT).

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

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

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

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

Stefano Sanfilippo <ssanfilippo@chromium.org> wrote:

[Trusted Types] Fully support eval(TT).

Reintroduce the modifying hook with the new signature. Scripts are executed if both TT and CSP allow them, otherwise throw an EvalError and send reports as side-effects.

Bug: 992424
Change-Id: I718694cc050cf071a2ccf9669543628cf568cbdc
Reviewed-on: https://chromium-review.googlesource.com/1768427
WPT-Export-Revision: f8b74ce9c135f074e0421e0659f2ffcf6d5d4d33

PR 19997 applied with additional changes from upstream: 170863d3b49760851da02c1f0c6a1eaec948cd0a
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream error][domsecurity-backlog]
Whiteboard: [wptsync downstream error][domsecurity-backlog] → [wptsync downstream][domsecurity-backlog]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/11e1dd0a621e
[wpt PR 19997] - [Trusted Types] Support eval(TT) when TT Is enforced., a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.