MCPcopy Create free account
hub / github.com/cure53/DOMPurify / _findingsFromHTML

Function _findingsFromHTML

test/test-suite.js:6536–6540  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

6534 return findings;
6535 };
6536 const _findingsFromHTML = function (html) {
6537 const holder = document.createElement('div');
6538 holder.innerHTML = html;
6539 return _executableFindings(holder);
6540 };
6541
6542 QUnit.test(
6543 'parse-time template expansion neutralizes weaponized payloads',

Callers 1

test-suite.jsFile · 0.85

Calls 1

_executableFindingsFunction · 0.85

Tested by

no test coverage detected