Skip to content

Commit 074229e

Browse files
committed
Clarify some comments
1 parent b3d9804 commit 074229e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

extensions/ql-vscode/src/interface-utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ export function getHtmlForWebview(
166166
/*
167167
* Content security policy:
168168
* default-src: allow nothing by default.
169-
* script-src: allow the given script, using the nonce. also allow loading WebAssembly modules.
169+
* script-src:
170+
* - allow the given script, using the nonce.
171+
* - 'wasm-unsafe-eval: allow loading WebAssembly modules if necessary.
170172
* style-src: allow only the given stylesheet, using the nonce.
171173
* connect-src: only allow fetch calls to webview resource URIs
172174
* (this is used to load BQRS result files).

extensions/ql-vscode/src/interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ export class ResultsView extends AbstractWebview<
658658
}
659659
let data;
660660
let numTotalResults;
661-
// Graph results are only supported in canary mode because the graph viewer is unsupported
661+
// Graph results are only supported in canary mode because the graph viewer is not actively supported
662662
if (metadata?.kind === GRAPH_TABLE_NAME && isCanary()) {
663663
data = await interpretGraphResults(
664664
this.cliServer,

0 commit comments

Comments
 (0)