Skip to content

Conversation

@everywill
Copy link

No description provided.

@reklawnos
Copy link
Owner

@everywill What's the particular issue this solves? This currently copies the behavior of worker-loader, which does not specify a mimetype when creating the blob.

@everywill
Copy link
Author

When try worklet-loader with options: { inline:true}, chrome doesn't accept the generated blob as worklet. It seems that
only explicitly assigned with the mime-type, the blob can be executed as worklet.

@lawrence-witt
Copy link

I'd like to second this. I get DOMException: The user aborted a request when trying to run inline Audio Worklets in Chromium browsers without specifying the mimetype.

It makes sense that this would deviate from Web Workers since Audio Worklets are only supposed to be run in a secure context, however AFAIK only Chrome is currently implementing that part of the spec.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants