1

Application running at domain https://lo93p.csb.app/

In Chrome browser on Android, when opening https://lo93p.csb.app/Test.pdf in iframe, it raises error:

SecurityError: Blocked a frame with origin "https://lo93p.csb.app/" from accessing a cross-origin frame

Same application is working perfectly in Chrome browser on windows desktop.

You can access this app as it is publicly available on CodeSanbox platform at https://lo93p.csb.app/

Target is React app with printing PDF silently on client-side.

Tried both dynamic iframe based on this Print PDF directly from JavaScript and library printJS (https://printjs.crabbly.com/)

Problem occurs not only on CodeSandbox but also on actual app hosting environment when accessing app in Chrome browser on Android.

user1921636
  • 193
  • 9

0 Answers0