quetal56
New Member

After you file

Hi, check this post

The problem occur when using file download on IOS and using reload on the window displaying the blob.

Configuration:
Nothing special. PDFjs viewer.

Web browser and its version:
Operating system and its version: IOS 10.2
PDF.js version: 1.6.210.
Is an extension:
Steps to reproduce the problem: 1. 2.

  • Using PDFViewer, after displaying a PDF, use the download file button.
  • A new tab open that show the pdf in native pdf renderer of Safari.
  • Use "reload" of the page : the page display an error instead of displaying the pdf again (in native pdf renderer of Safari)

What is the expected behavior? (add screenshot)
Best case : Display the pdf again (at least if the tab containing pdf.js displaying the pdf is still open)
Acceptable : empty page or user friendly message.

What went wrong? (add screenshot)
I get an error page like (approximatively translated from french) :
Safari cannot open this page.
Error: The operation cannot complete (WebkitBlobRessource error 1).

I get an error like (approximatively translated from french) :
Safari cannot open this page.
Error: The operation cannot complete (WebkitBlobRessource error 1).

Just reporting for documentation as I dont think there is a solution to this problem. The ressource have very likely been released from memory, maybe Webkit / Safari could display a more user friendly message ( I did a quick search on webkit but base but found no related issue).