MCPcopy Create free account
hub / github.com/angular/angular / nestedFirstChild

Function nestedFirstChild

packages/core/test/sanitization/html_sanitizer_spec.ts:240–241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

238 const firstChild = () =>
239 sanitizeHtml(defaultDoc, '<object form="a" id="firstChild"></object>B<form id="a"></form>');
240 const nestedFirstChild = () =>
241 sanitizeHtml(defaultDoc, '<form><b>C</b><input name="firstChild"></form>');
242
243 // Note: we have a different behavior here in a real browser and when running in Node,
244 // when Domino is used to emulate DOM:

Callers 1

Calls 1

sanitizeHtmlFunction · 0.85

Tested by

no test coverage detected