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

PDF links are displayed as blank pages in chrome #532

Closed
mguida22 opened this issue Apr 11, 2016 · 2 comments · Fixed by #533
Closed

PDF links are displayed as blank pages in chrome #532

mguida22 opened this issue Apr 11, 2016 · 2 comments · Fixed by #533

Comments

@mguida22
Copy link

With the ember-inspector installed for chrome when loading most PDF links, it will display as a blank white page. I have no idea what can cause this, but only when the ember-inspector extension is this an issue.

I haven't tried this on another computer but I can reproduce it on my machine as follows.

Relevant information:

ember inspector version: 1.9.5
chrome version: 49.0.2623.112 (64-bit)
mac version: OS X El Capitan Version 10.11.3 (15D21)

If you need any more information let me know. Thanks!

@lasernite
Copy link

I'm having this same issue. I was wondering what was going on. It's easily reproducible on my machine as well:

ember inspector version: 1.9.5
chrome version: 49.0.2623.110 (64-bit)
Mac OSX version: 10.11.4 (15E65)

@felixbuenemann
Copy link
Contributor

I have the same problem in Chrome 52.0.2707.0 on MacOS X 10.11.4 and Ember Inspector 1.9.5.

How about inspecting document.contentType before injecting the script?

For the PDF viewer this returns application/pdf.

Update: Proposed this fix in #533, works fine for me now.

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 a pull request may close this issue.

3 participants