update pdf.js to 2.4.456

Signed-off-by: anupritaisno1 <www.anuprita804@gmail.com>
This commit is contained in:
anupritaisno1 2020-05-30 21:03:08 +02:00 committed by Daniel Micay
parent b4f18f8b97
commit 64407e3a85
3 changed files with 45 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -52,7 +52,7 @@ public class PdfViewer extends AppCompatActivity implements LoaderManager.Loader
"form-action 'none'; " +
"connect-src https://localhost/placeholder.pdf; " +
"img-src blob: 'self'; " +
"script-src 'self'; " +
"script-src 'self' 'resource://pdf.js'; " +
"style-src 'self'; " +
"frame-ancestors 'none'; " +
"base-uri 'none'";