In my web application, in non-deterministic conditions, I experience the: "Refused to execute script from because its MIME type (…) and strict MIME type (…)" issue.
Is it possible to somehow detect this issue occurring on client side and report it to the server or some log tool?
From what I see it is possible to catch errors with the windoww.onerror handler but in that case we are dealing with a browser check and not an error per se.