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

Updated the utfDecodeString() method to avoid call stack exceeded error #22330

Merged
merged 1 commit into from
Sep 17, 2021

Commits on Sep 17, 2021

  1. Updated the utfDecodeString() method to avoid a RangeError

    Previously we were spreading the array of encoded values into String.fromCodePoint(...array). Functions arguments are first placed on the stack before the function is called though, which caused an error to be thrown for very large encoded strings.
    Brian Vaughn committed Sep 17, 2021
    Configuration menu
    Copy the full SHA
    03518ad View commit details
    Browse the repository at this point in the history