mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-15 15:42:52 +00:00
This fixes a hang on https://reddit.com/ Spec bug: https://github.com/whatwg/dom/issues/1102
13 lines
381 B
HTML
13 lines
381 B
HTML
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
const fragment = document.createDocumentFragment();
|
|
fragment.appendChild(document.createTextNode("hello"));
|
|
|
|
const walker = document.createTreeWalker(document, 0);
|
|
walker.currentNode = fragment;
|
|
|
|
walker.nextNode();
|
|
println("PASS (Didn't get stuck)");
|
|
});
|
|
</script>
|