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

Maximum call Stack exceeded when calling decodeMultiple in a service worker in Edge Browser #101

Open
PhilWhitehurst opened this issue Feb 19, 2024 · 1 comment

Comments

@PhilWhitehurst
Copy link

Trying to use cbor-x to send values to browser and when trying to decode I get this when using a fetch inside a service worker, and decodeMultiple for the response.

RangeError: Maximum call stack size exceeded
at decodeMultiple (decode.js:193:4)
at decodeMultiple (decode.js:167:28)
at decodeMultiple (decode.js:167:28)
at decodeMultiple (decode.js:167:28)
at decodeMultiple (decode.js:167:28)
at decodeMultiple (decode.js:167:28)
at decodeMultiple (decode.js:167:28)
at decodeMultiple (decode.js:167:28)
at decodeMultiple (decode.js:167:28)
at decodeMultiple (decode.js:167:28)

@kriszyp
Copy link
Owner

kriszyp commented Jul 28, 2024

Do you have any information on how to reproduce this? I can't reproduce, this line number doesn't match up with a call to decodeMultiple.

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