Got it; I think trying to load the data uri in the iframe is what's causing the crash. That's my hunch. You can decode the data uri into a Number (see this stackoverflow page for an example, where you'd use Number instead of typed Uint8Array: http://stackoverflow.com/questions/4...nd-to-formdata).
However, we currently don't support a built-in PDF viewer (sounds like what you're trying to do). Another thread has been started for this feature request (and the current crash that occurs when attempting to load such a file). To view the PDF file that's on the file system, you can instead call `Ion.util.openUrl(urlToPdf);` which will open the PDF file in the user's default web browser.
Thanks for reply. It seems the executables packaged by Sencha Desktop Packager 184.108.40.2068 don't crash any more. I'm hoping to confirm with one or two previous releases of the SDP, but I don't have them now. Does someone know any link that I could download the previous releases? I will be able to tell which versions failed? Thanks.
To the best of my memory, the executable packaged by the previous versions of SDP crashed when doing location.href = module/, and it worked when doing location.href = module/index.html. Seems the latest SDP has fixed this issue.
Again, please note this is loaded from the memory in my brain. I haven't tested it again yet, however, I believe I have tested it at the time I posted this bug. I'd be happy to confirm it if I would have a chance to download the previous releases of the SDP.