chromium/content/test/data/remove_object_element_with_invalid_data.html

<html>
<head>
<script>

function DoLoad() {
  let test_div = document.getElementById("test_div");
  document.body.removeChild(test_div);
}

</script>
</head>
<body onload="DoLoad();">
<div id="test_div">
  <object data="INVALID"></object>
</div>
</body>
</html>