JS Viewer in iFrame Chrome v77

Posted by: kevin.gunn on 26 September 2019, 6:00 am EST

    • Post Options:
    • Link

    Posted 26 September 2019, 6:00 am EST

    Hi Mohit,

    Just to let you know there is an issue using the print option in the jsViewer in Chrome 77, when embedding it in an iFrame, when clicking print you just get an empty page, and the following error:

    Failed to load 'about:blank' as a plugin, because the frame into which the plugin is loading is sandboxed.
    

    Works fine in IE and Edge.

    I am currently looking into what can be done to resolve this.

  • Posted 26 September 2019, 6:29 am EST

    Hello Kevin,

    Sorry to mention that I am not able to reproduce the issue at my end. What I did:

    1: Create a JsViewer application

    2: Use the above application in IFrame like as follow:

    3: Open in Chrome 77 and click on print button

    Request to please confirm if I am missing something at my end.

    Thanks,

    Mohit

  • Posted 26 September 2019, 6:44 am EST

    Hi Mohit,

    We use a cross-origin iFrame, of which is secured by sandbox.

    I have had to sandbox it due to the Invariant Violation in chrime 77.

    Kev

  • Posted 26 September 2019, 6:56 am EST

    For your reference, in case this is raised another time.

    I Fixed this issue by adding, the following security attribute to the sandbox

    allow-popups-to-escape-sandbox
    

    Thanks

    Kev

  • Posted 26 September 2019, 7:34 am EST

    Hello Kevin,

    Thanks for letting us know. I am very grateful to you.

    Regards,

    Mohit

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels