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

Set the correct document title when opening a new file in the GENERIC default viewer #9821

Merged
merged 2 commits into from
Jun 17, 2018

Conversation

Snuffleupagus
Copy link
Collaborator

No description provided.

…n the `onOpenWithURL` method

The `onOpenWithURL` method, in `PDFViewerApplication.initPassiveLoading`, accepts a `originalURL` parameter which is then passed on to `PDFViewerApplication.open` as is. However, the latter method expects the name of the parameter to be `originalUrl` (note the casing), meaning that `getDocument` will fail in this case.

For consistency, and to avoid confusion, the renaming is done in `web/chromecom.js` as well.
@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.67.70.0:8877/8b75aeff77f5954/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/8b75aeff77f5954/output.txt

Total script time: 8.35 mins

Published

@timvandermeij timvandermeij merged commit 3b07147 into mozilla:master Jun 17, 2018
@timvandermeij
Copy link
Contributor

Looks good. Thank you for finding this!

@Snuffleupagus Snuffleupagus deleted the onOpenWithURL-originalUrl branch June 17, 2018 18:32
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
…inalUrl

Set the correct document title when opening a new file in the `GENERIC` default viewer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants