Skip to content

(uncaught exception) ReferenceError: SharedArrayBuffer is not defined in Electron Browser after Update to 8.6.0 #19912

@Im-a-Train

Description

@Im-a-Train

Current behavior

After the Update from 8.5.0 to 8.6.0 I get the following error while starting my app in the Electron browser:

Uncaught (in promise) ReferenceError: SharedArrayBuffer is not defined

The problem might be the new Electron version, but until now I was not able to find the root cause.
An other Cypress user reported a similar problem on Stackoverflow:
https://stackoverflow.com/questions/70794396/sharedarraybuffer-not-defined-when-using-cypress/70863376#70863376

Desired behavior

The app should start normally without the SharedArrayBuffer error.

Test code to reproduce

Here ist a simple Code Repo to reproduce the error:
https://github.com/unlocomqx/cypress-ffmpeg

Switch the Cypress version to 8.5.0 and start the test with the Electron browser. -> It should work fine
Switch the Cypress version to 8.6.0 or higher and start the test with the Electron browser. -> The SharedArrayBuffer error occurs.

Cypress Version

8.6.0 and higher

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleno activity on this issue for a long period

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions