[Trusted Types] Handle navigation to javascript:-URLs as a TT violation.
This adds a second CSP-triggered check when navigating to javascript:-URLs. Newer Trusted Type spec versions treat this similar to an assignment to a <script> tag and run the TT default policy on it. The implementation is a bit more complicated, because this is a TT check that does not normally occur during JS execution. This updates the TT implementation to the latest spec version. R=mkwst Bug: 1002555 Change-Id: I4b815c74c5b9e3e4a11c7cc35c8668d32d2ae7e5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1865313 Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#712159}
Showing
Please register or sign in to comment