Fixes PDFDocumentProxy.getDownloadInfo API name (and refactoring)
Merge pull request #4179 from yurydelendik/dataLoaded

Fixes PDFDocumentProxy.getDataLoaded API name (and refactoring)