magjac/graphviz-visual-editor

Console error: Refused to create a worker

chtenb opened this issue · 9 comments

chtenb commented

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 commented

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

chtenb commented

Windows/Chrome

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?

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

image

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

The other error is probably #251.

129.0.6668.89 on windows 11

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.

Still same error message

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.