-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Open fail in Microsoft Edge #693
Comments
var fnTyped = { |
Microsoft Edge 25.10586.0.0 pdfMake.createPdf(docDefinition).open(); - open a blank page |
reference: #800 |
Any update on support for Edge? |
Hi guys! some update for MS Edge? |
Even if .Open() does not work, is there ANY way to display a PDF created with PDFMake in Edge? I've tried using |
I also tried different things, that all don't work with edge. It seems that Microsoft decided that data-urls are a source of evil and so completely dropped support for this. I really don't know what could be so problematic with data-urls, since every other browser i know supports them and makes it possible to display pdf-files or any other binary data in the browser (ie and edge are the same in this case, so "other" browser means "browser not from microsoft"). This problem seems to be known by microsoft since at least 2016 and they refuse to do anything about it, as far as i could figure out. Everything i read about it says that it is a security feature not to handle data-urls properly. If anybody finds a way to enable pdfmake to show a pdf in edge, i would be very glad to hear about it. My webapp is currently not able to show the pdfs in edge as every other browser does. So i have to recommend chrome, firefox, opera or other browsers to my users. |
If anyone still strugles with this issue, here is the fix:
into this:
I'll try to contact with author and create PR for that. |
I think this bug is inherited by: eligrey/FileSaver.js#580
|
In new Edge version 79+ works now. |
We have been unsuccessful in getting pdfmake to work in Microsoft Edge. We see only the following error under the F12 dev tools console and then a silent failure when the open or download method is called. Microsoft Edge 25.10586.0.0
SCRIPT5084: Invalid offset/length when creating typed array
The text was updated successfully, but these errors were encountered: