box / box/viewer.js

iOS 9 Safari crashes for the following payload

Open
#229 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
333
Forks
98
PR merge metrics
No merged PRs in 30d

Description

I unable to view the following (converted pdf) file in iOS 9, Safari. It systematically crashes with the following error on the screen.
![img_2091 png](https://cloud.githubusercontent.com/assets/10073071/16219802/867cecf4-37a6-11e6-9f6f-d730cb14e083.jpeg)
Is this a bug with viewer.js ?
Also, can I avoid this using come configuration setting for the viewer instance or by limiting caching ?
Please advise. Thanks in advance.
Attachment:
[ConvertedPDFAssets.zip](https://github.com/box/viewer.js/files/324919/ConvertedPDFAssets.zip)

Contributor guide

Open the contributing guide

Research direction

Start by examining viewer.js and reproducing the crash in iOS 9 Safari with the attached ConvertedPDFAssets.zip file. Check whether the failure is caused by the converted PDF or viewer configuration, then document a reproducible diagnosis and a confirmed workaround or fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.