chromium/third_party/blink/renderer/core/testing/data/print_with_xhr_inflight.html

<body>
<script>
window.print();

window.onload = function() {
    var xhr = new XMLHttpRequest();
    xhr.open("GET", "print_with_xhr_inflight.html", true);
    xhr.send();
}
</script>
</body>