magjac / graphviz-visual-editor

A web application for interactive visual editing of Graphviz graphs described in the DOT language.
http://magjac.com/graphviz-visual-editor
MIT License
705 stars 74 forks source link

Console error: Refused to create a worker #235

Open chtenb opened 1 year ago

chtenb commented 1 year ago

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 1 year ago

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

chtenb commented 1 year ago

Windows/Chrome

magjac commented 2 weeks ago

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 commented 2 weeks ago

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

image

magjac commented 2 weeks ago

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

The other error is probably https://github.com/magjac/graphviz-visual-editor/issues/251.

chtenb commented 2 weeks ago

129.0.6668.89 on windows 11

magjac commented 2 weeks ago

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.

chtenb commented 2 weeks ago

Still same error message

magjac commented 2 weeks ago

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.