Skip to content

Enable WebAssembly.{compileStreaming|instantiateStreaming} in Node.js #36282

Description

@codebytere

Refs #35999.

Refs nodejs/node#42701.

Node.js added support for WebAssembly.compileStreaming and WebAssembly.instantiateStreaming but they don't work within Electron at the moment.

This is happening because Node.js' logic for enabling them here is called via node::SetIsolateUpForNode, which by necessity can only be called on an existing isolate. However, the switch to enable it here is called by gin during its own isolate initialization, which means that it ends up being undefined. Look into a good way to fix this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions