Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize PDFView.url = '' #5083

Merged
merged 1 commit into from
Jul 25, 2014
Merged

Conversation

Rob--W
Copy link
Member

@Rob--W Rob--W commented Jul 24, 2014

The absence of the PDFView.url property caused the following error in PDFView.download:

Cannot read property 'split' of undefined

This property is unset when the PDF was loaded through a typed array instead of a URL. With the fix, the file name will default to "document.pdf", as defined by getPDFFileNameFromURL in web/ui_utils.js

The absence of this property caused the following error in PDFView.download:

   Cannot read property 'split' of undefined

This property was unset when the PDF was loaded through a typed array instead
of a URL. With the fix, the file name will default to "document.pdf", as
defined by getPDFFileNameFromURL in web/ui_utils.js
yurydelendik added a commit that referenced this pull request Jul 25, 2014
@yurydelendik yurydelendik merged commit 604ee45 into mozilla:master Jul 25, 2014
@yurydelendik
Copy link
Contributor

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants