mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Added withCredentials parameter and passing it to xhr requests
This commit is contained in:
parent
4d01ff4079
commit
08737375f8
5 changed files with 10 additions and 2 deletions
|
@ -117,6 +117,9 @@ PDFJS.verbosity = PDFJS.verbosity === undefined ?
|
|||
* - url - The URL of the PDF.
|
||||
* - data - A typed array with PDF data.
|
||||
* - httpHeaders - Basic authentication headers.
|
||||
* - withCredentials - Indicates whether or not cross-site Access-Control
|
||||
* requests should be made using credentials such as
|
||||
* cookies or authorization headers. The default is false.
|
||||
* - password - For decrypting password-protected PDFs.
|
||||
* - initialData - A typed array with the first portion or all of the pdf data.
|
||||
* Used by the extension since some data is already loaded
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue