Files
sousa-gecko/testing/web-platform/tests/xml/xml-doc-innerHTML-crash.html
T
Emilio Cobos Álvarez f0acf726a3 Bug 2017504 - Make XML fragment content sink stop claiming that elements are not parser created. r=hsivonen,dom-core
Right now it was doing something extremely weird where it notified as
parser created of some things (like DoneCreatingElement()) but not
others (like DoneAddingChildren()).

Differential Revision: https://phabricator.services.mozilla.com/D283950
2026-02-20 11:45:16 +00:00

8 lines
209 B
HTML

<script>
window.addEventListener("DOMContentLoaded", () => {
const doc = new Document()
const a = doc.createElementNS("http://www.w3.org/1999/xhtml", "video")
a.innerHTML = "<input e=\"\">"
})
</script>