NEW211619
Regression: Array size is not a small enough positive integer
https://bugs.webkit.org/show_bug.cgi?id=211619
Summary Regression: Array size is not a small enough positive integer
zac spitzer
Reported 2020-05-08 03:05:37 PDT
This QR code scanning library previously worked with Safari on iOS https://nimiq.github.io/qr-scanner/demo/ it's now throwing this error in one of the third party libraries name: RangeError message: Array size is not a small enough positive integer. mode: onerror stack: qr-scanner-worker.min.js (24,158) https://github.com/cozmo/jsQR/blob/master/src/locator/index.ts#L451
Attachments
Radar WebKit Bug Importer
Comment 2 2020-05-08 15:44:16 PDT
knuts763
Comment 3 2020-11-30 12:16:29 PST
We also ran into this issue doing .map() on an array. Our issue was not very reproducible, only occurring a handful of times a day out of many users. Replacing the .map() call with a basic for loop seemed to avoid the bug (or it's failing in a way that doesn't show up in our logs anymore). I couldn't find any common threads outside of the users all being in a webkit browser (safari on mac or any browser on iOS/iPad). The arrays that caused this error were sourced from multiple different code paths. Thanks!
Note You need to log in before you can comment on or make changes to this bug.