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

OSX - 0.21.0b1 - pdf in webview not loading, gives ERR_BLOCKED_BY_CLIENT #5682

Closed
Blatman opened this issue Feb 2, 2017 · 1 comment
Closed

Comments

@Blatman
Copy link

Blatman commented Feb 2, 2017

OSX 10.11.6 El Capitan

Problem occurs from 0.20.0 onwards - tested with 0.21.0b1. Works OK with 0.14.7 LTS.
Appears to be linked with the file:/// protocol. The webview works fine with a pdf file in the app root but when using a file in another local directory then file:/// is used and fails despite trusted permissions being set in package.json, etc.
Attached is a (simpler) wee project to demonstrate - just add nwjs binaries to PDFtest2 folder and replace username in index.html src file references - screenshots and error log in zip file.

Just as an aside I've noticed that 0.21.0 allows a SWF file to work again in webview - handy.

PDFtest2.zip

@rogerwang
Copy link
Member

Thanks for reporting. This is fixed in git and will be available in the next nightly build.

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

No branches or pull requests

2 participants