Commit 9521d391 authored by Joel Hockey's avatar Joel Hockey Committed by Commit Bot

Terminal CSP requires style and font to load web fonts

Bug: 1085324
Change-Id: I69984c8fa234da941382779544bbcd90a45f4ccc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2224891
Commit-Queue: Jason Lin <lxj@google.com>
Reviewed-by: default avatarJason Lin <lxj@google.com>
Auto-Submit: Joel Hockey <joelhockey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#773929}
parent eb7f2451
...@@ -156,5 +156,5 @@ std::string TerminalSource::GetContentSecurityPolicyImgSrc() { ...@@ -156,5 +156,5 @@ std::string TerminalSource::GetContentSecurityPolicyImgSrc() {
} }
std::string TerminalSource::GetContentSecurityPolicyStyleSrc() { std::string TerminalSource::GetContentSecurityPolicyStyleSrc() {
return "style-src 'self' 'unsafe-inline';"; return "style-src * 'unsafe-inline'; font-src *;";
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment