PSA: Chrome no longer supports alert, confirm, and prompt from cross-origin iframes

What is changing?

Chrome version 92 blocks cross-origin alerts, confirms, and prompts
Remove alert(), confirm(), and prompt for cross origin iframes - Chrome Platform Status

What do I need to do?

Please review your Connect app for any dependency on the following, and if necessary implement an appropriate workaround:

12 Likes

Thank you for the update, we just found this problem today. What would you suggest as workaround? Dialog 2?

Regards,
Jean

1 Like

@jhuertas Yes, AUI Dialog 2 would certainly be a good solution if that works for your app.

I’ll also add that we support a cross-domain dialog which does require an iframe, but can be made cacheable.

We also have a long standing feature request to support alert/confirm/prompt across the iframe bridge. Please comment/vote on ACJS-18 so we can measure demand

4 Likes

@dboyd It looks chrome reverted this change. - working fine with latest Version 92.0.4515.131 (Official Build) (x86_64)

1 Like

Thanks @umang.savaliya
Although it may only be a temporary revert
I’d recommend vendors follow this thread for the latest updates:
https://bugs.chromium.org/p/chromium/issues/detail?id=1065085#c41

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.