Skip to content

chore: use `getHTML`

8d6104f
Select commit
Loading
Failed to load commit list.
Open

Support ShadowDOM #555

chore: use `getHTML`
8d6104f
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Oct 2, 2025 in 0s

2 new security issues (0 max.).

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 2
           

Complexity increasing per file
==============================
- src/lib/browser/Page.ts  3
         

See the complete overview on Codacy

Annotations

Check failure on line 284 in src/lib/browser/Page.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/lib/browser/Page.ts#L284

User controlled data in a `document.body.innerHTML` is an anti-pattern that can lead to XSS vulnerabilities

Check failure on line 284 in src/lib/browser/Page.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/lib/browser/Page.ts#L284

User controlled data in methods like `innerHTML`, `outerHTML` or `document.write` is an anti-pattern that can lead to XSS vulnerabilities