Describe the bug
When using alloy style iframes suppress all modal dialogs with the console message:
A window.confirm() dialog generated by this page was suppressed because this page is not the active tab of the front window. Please make sure your dialogs are triggered by user interactions to avoid this situation. https://www.chromestatus.com/feature/5140698722467840
If the dev tools window is open the modal dialogs are not suppressed.
To Reproduce
Steps to reproduce the behavior:
Go to 'this site' using cefclient with alloy style
Click on any of the example dialog invocations. Observe no dialog opens. The green and blue examples should not be suppressed.
Expected behavior
Modals should be opened when appropriate.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
OS: Windows 11
CEF Version: Tested against 129 through 130
Additional context
Does the problem reproduce with the cefclient or cefsimple sample application at the same version?
Yes.
Does the problem reproduce with Google Chrome at the same version?
Looks like this issue also occurs when there are no iframes. In cefclient dialogs test it works randomly - sometimes works ok, other times doesn't work. In my app js dialogs don't work and I don't use iframes.
Describe the bug When using alloy style iframes suppress all modal dialogs with the console message:
If the dev tools window is open the modal dialogs are not suppressed.
To Reproduce Steps to reproduce the behavior:
Expected behavior Modals should be opened when appropriate.
Screenshots If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
Additional context Does the problem reproduce with the cefclient or cefsimple sample application at the same version?
Yes.
Does the problem reproduce with Google Chrome at the same version?
No.
Add any other context about the problem here.