mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
This isn't directly in the spec, but since replaceChild is implemented in terms of remove + insert, the removal step may cause arbitrary code to execute, and so we have to verify that the replaceChild inputs still make sense afterwards, before doing the insertion. This roughly matches what WebKit does, and makes a bunch of HTML parsing tests in WPT stop asserting.
112 KiB
112 KiB