Skip to content

Commit

Permalink
Terminal CSP requires style and font to load web fonts
Browse files Browse the repository at this point in the history
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: Jason Lin <lxj@google.com>
Auto-Submit: Joel Hockey <joelhockey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#773929}
  • Loading branch information
Joel Hockey authored and Commit Bot committed Jun 2, 2020
1 parent eb7f245 commit 9521d39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,5 @@ std::string TerminalSource::GetContentSecurityPolicyImgSrc() {
}

std::string TerminalSource::GetContentSecurityPolicyStyleSrc() {
return "style-src 'self' 'unsafe-inline';";
return "style-src * 'unsafe-inline'; font-src *;";
}

0 comments on commit 9521d39

Please sign in to comment.