chromium/third_party/blink/web_tests/screen_orientation/resources/iframe-listen-orientation-change-detach.html

<!DOCTYPE html>
<script>
window.screen.orientation.addEventListener('change', function() {});
parent.window.changeOrientationAndDetach();
</script>