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.
Add method to override content security policy for workers
Lottie player runs on a worker thread to paint on an offscreen canvas. To enable this on chrome internal pages the content security policy needs to be modified. This patch adds a virtual method that can be used to add content security policy for worker source url. A Worker thread is initialized here: https://chromium-review.googlesource.com/c/chromium/src/+/1725322 Bug: 976057 Change-Id: I91ad1c46c86475d496e6b5b993d9523f12736607 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1724865 Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Commit-Queue: Malay Keshav <malaykeshav@chromium.org> Cr-Commit-Position: refs/heads/master@{#688672}
- Loading branch information
Malay Keshav
authored and
Commit Bot
committed
Aug 20, 2019
1 parent
5919cc4
commit d6d7514
Showing
5 changed files
with
16 additions
and
17 deletions.
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
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