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

Ignore PDF documents opened from "data:"-URLs when handling internal links (bug 1803050) #15762

Merged
merged 1 commit into from
Nov 29, 2022

Conversation

Snuffleupagus
Copy link
Collaborator

This patch has been successfully tested in a local, artifact, Firefox build.

Please note: The only thing that'll no longer work for PDF documents opened using "data:"-URLs is middle-clicking on internal/outline links, in order to open the destination in a new tab. This is however an extremely small loss of functionality, and as can be seen in the bug the alternative (i.e. doing nothing) is surely much worse.

…links (bug 1803050)

This patch has been successfully tested in a local, artifact, Firefox build.

*Please note:* The only thing that'll no longer work for PDF documents opened using "data:"-URLs is middle-clicking on internal/outline links, in order to open the destination in a new tab. This is however an extremely small loss of functionality, and as can be seen in the bug the alternative (i.e. doing nothing) is surely much worse.
@Snuffleupagus Snuffleupagus changed the title Ignore PDF documents opened from "data:"-URLs when handling internal …links (bug 1803050) Ignore PDF documents opened from "data:"-URLs when handling internal links (bug 1803050) Nov 29, 2022
@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.241.84.105:8877/d5b08a5de1e6a69/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/d5b08a5de1e6a69/output.txt

Total script time: 1.26 mins

Published

Copy link
Contributor

@calixteman calixteman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Snuffleupagus Snuffleupagus merged commit ff9d21f into mozilla:master Nov 29, 2022
@Snuffleupagus Snuffleupagus deleted the bug-1803050 branch November 29, 2022 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants