Added withCredentials parameter and passing it to xhr requests

This commit is contained in:
terje.kristiansen 2014-01-15 09:57:17 +01:00
parent 4d01ff4079
commit 08737375f8
5 changed files with 10 additions and 2 deletions

View file

@ -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