mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-23 09:22:30 +00:00
14 lines
413 B
HTML
14 lines
413 B
HTML
<!DOCTYPE html>
|
|
<body>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
let observer = new MutationObserver(function() {});
|
|
observer.observe(document.body, { attributes: true, childList: true, subtree: true });
|
|
|
|
let div = document.createElement("div");
|
|
document.body.appendChild(div);
|
|
div.remove();
|
|
println("PASS! (Didn't crash)");
|
|
});
|
|
</script>
|