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

Safari: Array size is not a small enough positive integer. #71

Closed
zspitzer opened this issue May 8, 2020 · 1 comment
Closed

Safari: Array size is not a small enough positive integer. #71

zspitzer opened this issue May 8, 2020 · 1 comment

Comments

@zspitzer
Copy link

zspitzer commented May 8, 2020

name: RangeError
message: Array size is not a small enough positive integer.
stack: qr-scanner-worker.min.js (24,158)

This was previously working on iOS, but Safari 13 / Webkit seems to have a regression, so I have filed a bug against webkit.

https://bugs.webkit.org/show_bug.cgi?id=211619

The error is happening the jsQR library
cozmo/jsQR#157

@danimoh
Copy link
Member

danimoh commented Aug 17, 2021

Hello @zspitzer.
I indeed believe it's a bug in Safari.
Thank you for opening the webkit bug.

In the latest version I applied a workaround that hopefully mitigates this issue.
Please test it and report any issues in #102.

@danimoh danimoh closed this as completed Aug 17, 2021
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