Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console error: Refused to create a worker #235

Open
chtenb opened this issue Aug 16, 2023 · 9 comments
Open

Console error: Refused to create a worker #235

chtenb opened this issue Aug 16, 2023 · 9 comments
Labels
not an issue Asking for help or other discussions

Comments

@chtenb
Copy link

chtenb commented Aug 16, 2023

I'm seeing errors in my dev console of the form:

[Report Only] Refused to create a worker from 'blob:http://magjac.com/dc63c696-2997-4d9b-adc6-b218f78ac6e3' because it violates the following Content Security Policy directive: "worker-src 'none'".

Not sure what concrete problems they cause, but it sounds unintentional.

@magjac
Copy link
Owner

magjac commented Oct 14, 2023

Sorry for the delay. What platform and browser are you on?

@chtenb
Copy link
Author

chtenb commented Oct 15, 2023

Windows/Chrome

@magjac
Copy link
Owner

magjac commented Oct 3, 2024

Sorry for the even more delay. I cannot reproduce this on Windows 10 with Chrome version 129.0.6668.71 when accessing https://magjac.com/graphviz-visual-editor/ or http://magjac.com/graphviz-visual-editor/.

Can you still reproduce this?

@chtenb
Copy link
Author

chtenb commented Oct 3, 2024

Yes. After some clicking around I found that the middle mouse button produced another error:

image

@magjac
Copy link
Owner

magjac commented Oct 3, 2024

Thanks. Which version of Windows and which version of Chrome?

The other error is probably #251.

@chtenb
Copy link
Author

chtenb commented Oct 3, 2024

129.0.6668.89 on windows 11

@magjac
Copy link
Owner

magjac commented Oct 4, 2024

I've added Content-Security-Policy: worker-src blob:; on the server. Can you try again? I suspect it has to do with Windows 11, but I cannot test that since I don't have such a machine.

@magjac magjac added the not an issue Asking for help or other discussions label Oct 4, 2024
@chtenb
Copy link
Author

chtenb commented Oct 5, 2024

Still same error message

@magjac
Copy link
Owner

magjac commented Oct 6, 2024

OK. Thanks. I think I'll have to put this issue on the back burner until I can get my hands on a Windows 11 machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not an issue Asking for help or other discussions
Projects
None yet
Development

No branches or pull requests

2 participants