Repro:
<div id="root">
0
</div>
<script>
const depth = 10000;
let root = document.getElementById("root");
let currentElement = root;
for (let i = 1; i <= depth; i++) {
let newElement = document.createElement("div");
newElement.innerText = i.toString();
currentElement.appendChild(newElement);
currentElement = newElement;
}
</script>
This crashes WebContent with no stack trace printed in the log. Running under debugger shows that it crashes due to EXC_BAD_ACCESS
on macOS
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too