none
Simulator crashes when a WebView loads PDF.js from ms-appdata RRS feed

  • Frage

  • Hi,

    we are trying to get PDF.js running inside a WebView on WinRT 8.1 simulator for evaluating PDF integration in our App. If we load the PDF.js from a online ressource (new URI("http://abc.com/viewer.js")) then everythink works fine. But our main attempt is to load the PDF.js and PDF's from the local storage ms-appdata:///temp/demo/viewer.html

    If we do this, the app crashes in the simulator and on the local computer (the other option to run WinRT Apps). The javascript engine tells us that the Promise class is not known.

    Our question is, why is it not known when we load it from ms-appdata? If we run it from an online ressource everythink runs perfect.

    Does somebody got PDF.js running from ms-appdata?

    Thanks & Best regards

    René

    Montag, 22. September 2014 07:26