Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"An error occurred while loading the PDF" occured with normal remote PDF file.

1,168 views
Skip to first unread message

websim...@gmail.com

unread,
May 14, 2014, 3:20:22 PM5/14/14
to mozilla-d...@lists.mozilla.org
It looks like pdf.js viewer cannot open the following file:

http://mozilla.github.io/pdf.js/web/viewer.html?file=http://aeronav.faa.gov/d-tpp/1405/EC_HOTSPOT.PDF

funny, with pdf.js as chrome extension, the same file opens correctly.

any hints

Marcin

Yury Delendik

unread,
May 14, 2014, 3:40:20 PM5/14/14
to websim...@gmail.com
See
https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-xhr:

"PDF.js [web viewer] runs with the same permissions as any other
JavaScript code, which means it cannot do cross origin requests"

Thanks.
0 new messages