1
0
Fork 0
firefox/toolkit/components/printing/tests/file_window_print_reentrant.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

12 lines
259 B
HTML

<!doctype html>
<div id="before-print-count"></div>
<script>
let count = 0;
onload = function() {
window.addEventListener('beforeprint', () => {
document.getElementById("before-print-count").innerText = ++count;
print()
});
print()
};
</script>