forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CrOS MediaApp: set "oject-src" & "frame-src" CSP so we can load PDFs.
There seems to be a change in M87 unrelated to the CrOS MediaApp which broke PDF loading. I think this was due to tighter CSP. This change sets our CSP so we can load PDFs as blob urls in our untrusted context and adds a test for coverage of the "object-src" policy. Further work to make our tests better & provide coverage for "frame-src" is captured in crbug/1148090. Bug: b/172881869, 1148090 Change-Id: I6e5ea0816c7f8c5a4eb382ed376e4fd98f9f671c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2531075 Reviewed-by: dstockwell <dstockwell@chromium.org> Reviewed-by: David Lei <dlei@google.com> Reviewed-by: Patti <patricialor@chromium.org> Commit-Queue: David Lei <dlei@google.com> Commit-Queue: dstockwell <dstockwell@chromium.org> Auto-Submit: David Lei <dlei@google.com> Cr-Commit-Position: refs/heads/master@{#827021}
- Loading branch information
David
authored and
Commit Bot
committed
Nov 12, 2020
1 parent
e0de6e9
commit e66d538
Showing
3 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters