a4dd4b1789
pdfHandler-local.js references the isPdfDownloadable function from pdfHandler.js, but the function didn't expect that the responseHeaders property was absent. Added a check to prevent a runtime error when a local file is displayed in a frame, and show local PDF files again. Local files are rendered on the chrome-extension:-protocol. The previous method of getting the PDF URL was incorrect, this has been fixed as well. |
||
---|---|---|
.. | ||
.gitignore | ||
hide-xhtml-error.css | ||
icon16.png | ||
icon48.png | ||
icon128.png | ||
insertviewer.js | ||
manifest.json | ||
patch-worker.js | ||
pdfHandler-local.js | ||
pdfHandler.html | ||
pdfHandler.js |