Dear Support.
We have noticed a problem occurring more and more frequently in the Shopify Print module when trying to print PDFs.
The error is easy to reproduce. If the user has “OOPIF for PDF Viewer” (chrome://flags/#edge-pdf-extension-oopif) enabled in Chrome (or, in some cases, already set to default), printing does not work (This content is blocked. Contact the site owner to fix the issue.).
If we switch “OOPIF for PDF Viewer” to disabled, the print preview and printing work as expected.
Chrome is updating in the background, but Shopify should probably take action on this issue and make the engine compatible with the new “Shadow DOM Closed Mode” and “OOPIF” technologies dictated by Chrome.
Do you have any ideas on how we can resolve this issue from our application side?
When OPIF for PDF Viewer is enabled, the following error message also appears on the page sometimes:
Refused to frame ‘’ because it violates the following Content Security Policy directive: “frame-src app.shopify.com *.shopifyapps.com .myshopify.com .myshopify.com https:// shopify-pos:// hcaptcha.com .hcaptcha.com https://localhost: blob:”.
Thank you in advance for your responses.