Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebkitBlobRessource error 1 when reloading blob on IOS #8152

Closed
ghost opened this issue Mar 10, 2017 · 4 comments
Closed

WebkitBlobRessource error 1 when reloading blob on IOS #8152

ghost opened this issue Mar 10, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Mar 10, 2017

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).

@Snuffleupagus
Copy link
Collaborator

Snuffleupagus commented Mar 10, 2017

PR #8081 might help here, since it should disable blob usage in Chrome on iOS.
What version of PDF.js are you using?

(For future reference, please provide as much as possible of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md when opening an issue.)

@ghost
Copy link
Author

ghost commented Mar 10, 2017

Thanks for reference to #8081, I will read it.
I have updated the original post with more details.

@Snuffleupagus
Copy link
Collaborator

Given everything mentioned in #8152 (comment), this really seems like a browser-specific bug rather than a PDF.js one; should this be closed since there doesn't appear to be anything we can do here?

@ghost
Copy link
Author

ghost commented Feb 22, 2019

Yes, I will close, thanks.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants