Skip to content

Broken blob: URIs due Emscripten condition #2828

Description

@WebReflection
if(!binary&&!isFileURI(binaryFile)&&!ENVIRONMENT_IS_NODE)

This fails in NodeJS if the URI is one created via URL.createObjectURL(blob) hence it's a ^blob: kind of URL.

If I remove that !ENVIRONMENT_IS_NODE everything works as expected.

I am not sure this is a bug for this project or Emscripten but I wanted to point out that one cannot initialize this library via blobs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions