WebUI: Migrate certificate viewer to JS modules.
Also change parse_html_subset.js to initialize the parse-html-subset TrustedTypes policy lazily, only when it is actually used, to avoid having to allow that policy in the CSP configuration on the C++ side for cases where parse_html_subset.js is just a transitive dependency and not actually used (which is the case for chrome;//view-cert). Bug: 1149868 Change-Id: I1a8f32f3289f6068c0eafbb80cdc046451fc028e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2544067 Commit-Queue: dpapad <dpapad@chromium.org> Reviewed-by:Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/master@{#830138}
Showing
Please register or sign in to comment