commit | 6edbfd84176e682a07c362cfdace157cc2a0775a | [log] [tgz] |
---|---|---|
author | Jun Kokatsu <[email protected]> | Wed Jan 13 22:01:58 2021 |
committer | Chromium LUCI CQ <[email protected]> | Wed Jan 13 22:01:58 2021 |
tree | 662b887398b96f4a49dbdb5cfd73939ea2856a3c | |
parent | 27e1555201b2a7c0cbd804907b6ae61ee9a259d8 [diff] |
Add a doc for Trusted Types mitigation on WebUI While there are many online resources about general CSP, it's hard to find similar resources for Trusted Types, especially on how to convert existing JS code. This change adds explanation of Trusted Types as well as tips for how to convert existing JS code to be compatible with Trusted Types mitigation on WebUI. Bug: 41905 Change-Id: Ia8382c8a7542bcd45be9a1b8434e23388a93b483 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2616966 Commit-Queue: Jun Kokatsu <[email protected]> Reviewed-by: Mike West <[email protected]> Reviewed-by: dpapad <[email protected]> Cr-Commit-Position: refs/heads/master@{#843202}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.