Closed bhufmann closed 3 months ago
The CSP setting is done when creating the HTML for each webview, see image for the trace explorer:
Some related information that could help solve the problem:
Another interesting piece of information: How MS configures different levels of CSP for its built-in MarkDown extension (the user can pick the level, from "insecure" to "strict"): https://github.com/microsoft/vscode/blob/6aca75d9d09f7d9d32c18e58c836067f2d420495/extensions/markdown-language-features/src/preview/documentRenderer.ts#L234-L246
When opening a trace the console log show errors as below. Some when using pixijs and chartjs.
For example in
pixi.js
:Another instance for
Chart.js
: