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

[CRX] Ignore PDFs from responses to POST requests #6176

Merged
merged 1 commit into from
Jul 5, 2015

Conversation

Rob--W
Copy link
Member

@Rob--W Rob--W commented Jul 4, 2015

As explained in #6174 (comment).

To verify that this patch works:

  1. Build the Chrome extension (node make chromium)
  2. Load the Chrome extension (at chrome://extensions)
  3. Visit https://robwu.nl/pdfjs/issue6174/.
  4. Verify that PDF.js is not used to load the PDF. Either Chrome's default PDF Viewer is used (and you will see the secret message in my hand-crafted PDF file ;) ), or the PDF is offered as a file download.

(verified with Chromium 43.0.2357.81 and 45.0.2445.0 on Linux)

As explained in
mozilla#6174 (comment).

To verify that this patch works:
1. Build the Chrome extension (node make chromium)
2. Load the Chrome extension (at chrome://extensions)
3. Visit https://robwu.nl/pdfjs/issue6174/.
4. Verify that PDF.js is not used to load the PDF. Either Chrome's
   default PDF Viewer is used, or the PDF is offered as a file download.
Snuffleupagus added a commit that referenced this pull request Jul 5, 2015
[CRX] Ignore PDFs from responses to POST requests
@Snuffleupagus Snuffleupagus merged commit 7a6a3f1 into mozilla:master Jul 5, 2015
@Snuffleupagus
Copy link
Collaborator

Confirmed to be working as described, using the built extension in: Google Chrome 44.0.2403.61 beta-m on Windows 7. Thank you for the patch!

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.

2 participants