chromium/third_party/blink/web_tests/fast/dom/shadow/focus-controller-recursion-crash.html

<!DOCTYPE html>
<p>This test passes if it does not crash.</p>
<input id="first">
<select></select>
<input>

<script>
if (!window.eventSender)
  document.write('FAIL: no eventSender');
if (window.testRunner)
    testRunner.dumpAsText();

window.onload = () => {
  var sel = document.querySelector('select');
  for (var i = 0; i < 5000; ++i) {
    var o = document.createElement('option');
    sel.appendChild(o);
  }

  document.getElementById('first').focus();

  eventSender.keyDown('\t');
  eventSender.keyDown('\t');
  eventSender.keyDown('\t', ['shiftKey']);
  eventSender.keyDown('\t', ['shiftKey']);

  const activeElement = document.activeElement.id;
}
</script>