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

Function _findingsFromHTML

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

Source from the content-addressed store, hash-verified

6779 return findings;
6780 };
6781 const _findingsFromHTML = function (html) {
6782 const holder = document.createElement('div');
6783 holder.innerHTML = html;
6784 return _executableFindings(holder);
6785 };
6786
6787 QUnit.test(
6788 '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