A customer reported that 99.x versions of Chrome is printing blank pages when using our web app. I was able to reproduce this issue this issue with both Chrome as well as Edge (and Chromium too). The issue seems to be with the following construct:
===
top (Origin A)
-> iframe1 (Origin B)
-> iframe2
===
The origin of the top document and iframe1 are different. The script in iframe1 dynamically creates iframe2 with some content and issues a print on it which then shows up blank. The attached HTML page demonstrates this issue. After opening the page please click on the "Print document" toolbar button. Please note that the view session is only valid for 24 hours - I can refresh it if necessary.
It appears like this issue is fixed in the Canary release channel (version 101.0.4937.0) of Edge. What I am trying to find out is if there is any reference of this issue being fixed so I can share that with the customer and ask them to wait for it appear in the stable build.
Thanks & Regards,
Santosh