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

Function _findingsFromHTML

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

Source from the content-addressed store, hash-verified

8779 return findings;
8780 };
8781 const _findingsFromHTML = function (html) {
8782 const holder = document.createElement('div');
8783 holder.innerHTML = html;
8784 return _executableFindings(holder);
8785 };
8786
8787 QUnit.test(
8788 '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