Files
sousa-gecko/testing/web-platform/tests/domparsing/insert_adjacent_html-001-crash.html
T
Frédéric Wang 959d6307b3 Bug 1987801 - Skip optimized path for insertAdjacentHTML("beforeEnd", ...) when last child is a text node. r=smaug
This also removes a hack in this optimized path (to force a call to
NotifyContentAppended) that was causing an assertion failure in debug.

Differential Revision: https://phabricator.services.mozilla.com/D264382
2025-09-10 12:41:47 +00:00

7 lines
202 B
HTML

<!DOCTYPE html>
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1219068">
<span id="span">A</span>
<script>
onload = _ => span.insertAdjacentHTML("beforeEnd", undefined)
</script>