Skip to content

Activity: Can't create Workers #7552

Closed
Closed
@KabanFriends

Description

@KabanFriends

Description

I have a Discord activity that creates a web worker to run wasm libraries on a separate thread. I noticed that my app suddenly stopped working in the last few days with a strange error.

Is it normal that worker-src security policy is set to none? (I think this used to allow .proxy URLs before) And if this is the intended behavior, how should I fix this on my side?

Steps to Reproduce

Create a new web worker instance in your activity

Expected Behavior

The worker is created successfully

Current Behavior

Content security policy blocks any workers from being created

Screenshots/Videos

Image

Client and System Information

Tested on latest release builds of Discord desktop client, web client, Android client

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsyncedSynced to internal tracker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions