docs: Fix link syntax in Trusted Types on WebUI
The line wrapping breaks them, since you can't have whitespace between the square brackets and the round. Bug: none Test: check Gittiles rendering Change-Id: I1c438622a7bc4e7b2e044fd0f325f48e5fdfaa20 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3028913 Auto-Submit: Harry Cutts <hcutts@chromium.org> Reviewed-by: Sean O'Brien <seobrien@chromium.org> Commit-Queue: Sean O'Brien <seobrien@chromium.org> Cr-Commit-Position: refs/heads/master@{#902024}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
f0ebf77c27
commit
40e077b610
@ -206,15 +206,13 @@ source->DisableTrustedTypesCSP();
|
||||
|
||||
## How to add a test for Trusted Types on a WebUI page?
|
||||
|
||||
You can add your WebUI page to [this list]
|
||||
(https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ui/webui/chrome_url_data_manager_browsertest.cc;l=194;drc=de8ade0753244ff6d1ef20cb2a38fe292fe9ba0a) and it will check for
|
||||
Trusted Types violations on your WebUI page.
|
||||
You can add your WebUI page to [this list][browsertest-list] and it will check
|
||||
for Trusted Types violations on your WebUI page.
|
||||
|
||||
[browsertest-list]: https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ui/webui/chrome_url_data_manager_browsertest.cc;l=194;drc=de8ade0753244ff6d1ef20cb2a38fe292fe9ba0a
|
||||
|
||||
## Sample CLs
|
||||
|
||||
1. [Remove innerHTML usage in chrome://interstitials]
|
||||
(https://chromium-review.googlesource.com/c/chromium/src/+/2245937)
|
||||
2. [Trusted Type various WebUI]
|
||||
(https://chromium-review.googlesource.com/c/chromium/src/+/2236992)
|
||||
3. [Trusted Type WebRTC internals]
|
||||
(https://chromium-review.googlesource.com/c/chromium/src/+/2208950)
|
||||
1. [Remove innerHTML usage in chrome://interstitials](https://crrev.com/c/2245937)
|
||||
2. [Trusted Type various WebUI](https://crrev.com/c/2236992)
|
||||
3. [Trusted Type WebRTC internals](https://crrev.com/c/2208950)
|
||||
|
Reference in New Issue
Block a user