Skip to content

PRO: Save WS messages as file doesn't work if the contents are too big #164

@ceifa

Description

@ceifa

42K messages with ~100kb in average.

helpers.js:118 Uncaught RangeError: Invalid string length
    at Array.join (<anonymous>)
    at Rv.exportMessages (stream-message-list-card.tsx:160:18)
    at Object.Ce (react-dom.production.min.js:54:317)
    at Fe (react-dom.production.min.js:54:471)
    at react-dom.production.min.js:55:35
    at Pr (react-dom.production.min.js:105:68)
    at Rr (react-dom.production.min.js:106:380)
    at react-dom.production.min.js:117:104
    at lc (react-dom.production.min.js:274:42)
    at xe (react-dom.production.min.js:52:375)
    at Wr (react-dom.production.min.js:109:469)
    at Vt (react-dom.production.min.js:74:59)
    at Qt (react-dom.production.min.js:73:73)
    at HTMLDivElement.i (helpers.js:96:17)

I already have a fix on a branch, but I will test it better before making a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions