Skip to content

File should be clonable via structuredClone #47612

@zloirock

Description

@zloirock

Version

20.0.0

What is the expected behavior? Why is that the expected behavior?

In any proper env File is serializable -> clonable:

image

What do you see instead?

In NodeJS 20.0.0 it's not:

image

Additional information

https://w3c.github.io/FileAPI/#file-section

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bufferIssues and PRs related to the buffer subsystem.

    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