;
  range.setStart(secondDiv.firstChild, 0);
  range.collapse(true);
  selection.removeAllRanges();
  selection.addRange(range);
  await sendBackspaceKey();
  const expected = "<div id=\"first\">First blockSecond block</div>"
    + "<div id=\"second\"><select style=\"visibility:hidden\"></select></div>";
  assert_equals(
    editableDiv.innerHTML,
    expected,
    "The test should not crash and Second block should be merged with First block"
  );
}, "waiting for command to execute");
</script>
</body>
</ht