Clarify some comments

This commit is contained in:
Koen Vlaswinkel
2023-03-01 17:17:06 +01:00
parent b3d9804842
commit 074229e2a0
2 changed files with 4 additions and 2 deletions

View File

@@ -166,7 +166,9 @@ export function getHtmlForWebview(
/*
* Content security policy:
* default-src: allow nothing by default.
* script-src: allow the given script, using the nonce. also allow loading WebAssembly modules.
* script-src:
* - allow the given script, using the nonce.
* - 'wasm-unsafe-eval: allow loading WebAssembly modules if necessary.
* style-src: allow only the given stylesheet, using the nonce.
* connect-src: only allow fetch calls to webview resource URIs
* (this is used to load BQRS result files).

View File

@@ -658,7 +658,7 @@ export class ResultsView extends AbstractWebview<
}
let data;
let numTotalResults;
// Graph results are only supported in canary mode because the graph viewer is unsupported
// Graph results are only supported in canary mode because the graph viewer is not actively supported
if (metadata?.kind === GRAPH_TABLE_NAME && isCanary()) {
data = await interpretGraphResults(
this.cliServer,