MCPcopy Index your code
hub / github.com/angular/angular / firstChild

Function firstChild

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

sanitizeHtmlFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…