Skip to content
This repository was archived by the owner on Feb 29, 2020. It is now read-only.
This repository was archived by the owner on Feb 29, 2020. It is now read-only.

getScreenshot error: RangeError: too many arguments provided for a function call #3099

Description

@Mardak

Some screenshots have too many bytes for String.fromCharCode.apply(null, bytes)

See https://stackoverflow.com/questions/22747068/is-there-a-max-number-of-arguments-javascript-functions-can-accept

      let byteString = "";
      for (const b of bytes) {
        byteString += String.fromCharCode(b);
      }

seems to work… but is apparently slow. Sticking with fromCharCode

Metadata

Metadata

Assignees

Type

No type

Fields

Priority

None yet

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions