chromium/third_party/blink/web_tests/test_runner/close.html

<script>
  // Note: Closing the main window affects the web_tests logic when switching
  // from one test to the next one. To reproduce a crash, it was necessary to
  // have multiple tests enqueued.
  close();
</script>