chromium/content/test/data/detach_frame_in_copy.html

<!DOCTYPE html>
<html>
<body>
<iframe></iframe>
<script>
window[0].addEventListener('copy', (e) => {
  document.querySelector('iframe').remove();
  // Finish asynchronously, to make sure the renderer doesn't crash.
  window.setTimeout(() => { document.title = 'done'; });
});
</script>
</body>
</html>