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/+/1724865Reviewed-by:Alex Moshchuk <alexmos@chromium.org> Commit-Queue: Malay Keshav <malaykeshav@chromium.org> Cr-Commit-Position: refs/heads/master@{#688672}
Showing
Please register or sign in to comment