https://htmlparser.info/scripting/#other-parser-apis > Other parser APIs document.execCommand with insertHTML is missing. Also see https://github.com/w3c/webappsec-trusted-types/issues/345 (h/t @apple502j) as a case study for the security chapter.