Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

PDF is downloaded when loaded in an iframe #9144

Closed
srirambv opened this issue May 30, 2017 · 11 comments
Closed

PDF is downloaded when loaded in an iframe #9144

srirambv opened this issue May 30, 2017 · 11 comments
Labels
bug fixed-with-brave-core This issue will automatically resolved with the replacement of Muon with Brave Core. plugin/pdfjs wontfix

Comments

@srirambv
Copy link
Collaborator

  • Did you search for similar issues before submitting this one?
    Yes

  • Describe the issue you encountered:
    PDF is downloaded instead of opening in a tab

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    Windows 10 x64

  • Brave Version (revision SHA):
    Brave 0.16.0
    rev be76cd3
    Muon 3.2.101

  • Steps to reproduce:

    1. Visit http://ieeexplore.ieee.org/Xplore/home.jsp
    2. Scroll down and click on any of the links under Most Popular or Just Published
    3. Click on Download PDF in the article page, PDF is downloaded instead of opening in the tab
  • Actual result:
    PDF is asked to download instead of opening in the tab

  • Expected result:
    Should open the PDF file

  • Will the steps above reproduce in a fresh profile? If not what other info can be added?
    Yes

  • Is this an issue in the currently released version?
    No

  • Can this issue be consistently reproduced?
    Yes

  • Extra QA steps:
    1.
    2.
    3.

  • Screenshot if needed:

  • Any related issues:
    cc: @diracdeltas

@srirambv srirambv added this to the 0.16.0 (Frozen, only critical adds from here) milestone May 30, 2017
@diracdeltas
Copy link
Member

diracdeltas commented May 30, 2017

This is because the 'download PDF' button actually loads the PDF in an iframe. This issue also exists in 0.15.310 and I'm pretty sure it existed in previous releases too.

@diracdeltas diracdeltas changed the title PDF is downloaded instead of opening in a tab PDF is downloaded when loaded in an iframe May 30, 2017
@diracdeltas
Copy link
Member

@diracdeltas diracdeltas self-assigned this May 30, 2017
@diracdeltas
Copy link
Member

It doesn't seem possible to fix this without re-opening #8365, since if we allow the PDF viewer to load in an iframe in an external page, the PDFJS extension ID can be used for fingerprinting.

IMO we should leave the behavior as-is unless there are sites which require PDFs to be loaded in an iframe. The IEEE site says 'download PDF', so Brave's behavior isn't necessarily wrong (though it differs from Chrome).

@diracdeltas
Copy link
Member

removing milestone but leaving this open for input

@hummerh2
Copy link

I have the same issue on Mac 10.12.6, Brave 0.18.23. Attempts to download pdfs loaded in an iframe. Works fine in FF, Chrome, IE and Edge. It is happening on our Internal CRM so I can not provide a link. But same result as link above.

@eljuno
Copy link
Contributor

eljuno commented Nov 1, 2017

@bsclifton bsclifton added this to the Triage Backlog milestone Nov 27, 2017
@LaurenWags
Copy link
Member

@turhanb
Copy link

turhanb commented Aug 8, 2018

This is a blocking issue for day to day users of web based latex editors (e.g. sharelatex and overleaf) which covers a significant user base among academics. Those services compile the pdf for the working document and display it in an iframe on the fly. With brave, they do not display the pdf and a download dialogue pops up instead. That said, I totally understand the concerns about fingerprinting and wouldn't want to compromise; perhaps an option to enable on website basis could be the way to go.

@bsclifton bsclifton added wontfix fixed-with-brave-core This issue will automatically resolved with the replacement of Muon with Brave Core. labels Aug 30, 2018
@bsclifton bsclifton removed this from the Triage Backlog milestone Aug 30, 2018
@bsclifton
Copy link
Member

Verified this is fixed with brave-core 😄

@tzvatot
Copy link

tzvatot commented Sep 13, 2018

Having the same problem with Fedora 28, Brave 0.23.105.
When is the fix expected to roll out?

@bsclifton
Copy link
Member

@tzvatot this is something which is already fixed in our Developer channel release, which you can download now 😄 We won't be fixing it in our current Muon based product. If you're not ready to make the upgrade yet, the new brave-core code base will be rolling over to Beta channel and then Release channel over the next few months

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed-with-brave-core This issue will automatically resolved with the replacement of Muon with Brave Core. plugin/pdfjs wontfix
Projects
None yet
Development

No branches or pull requests

9 participants