chromium/third_party/blink/web_tests/editing/input/orphan-set-selection-range.html

<script src="../../resources/js-test.js"></script>
<script>
  description = "Calling setSelectionRange() on an orphaned text node should be a no-op.";

  div = document.createElement('div');
  input = document.createElement('input');
  div.appendChild(input);
  input.setSelectionRange(0, 0);
  doc = document.implementation.createDocument("", null);
  doc.appendChild(div);
  document.execCommand("FindString", false, "test");
</script>