Skip to content

Close CodeQL's findings in the webview-ui test helpers - #71

Merged
antonarnaudov merged 1 commit into
mainfrom
fix/codeql-test-helpers
Sep 30, 2026
Merged

antonarnaudov merged 1 commit into
mainfrom
fix/codeql-test-helpers

Conversation

@antonarnaudov

Copy link
Copy Markdown
Contributor

CodeQL flagged three test helpers added in #66 (alerts 61–63): a single-pass tag strip in the fake DOM, and two escaping assertions whose regex reads as an HTML filter. Test-only; no product code changes.

🤖 Generated with Claude Code

The fake DOM strips tags until nothing changes, so a nested '<<b>b>'
cannot leave a tag behind; the escaping tests check for raw markup with
includes() instead of a regex CodeQL reads as an HTML filter.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@antonarnaudov
antonarnaudov merged commit 0b628cf into main Sep 30, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant