Chrome Version: 72.0.3605.0
OS: Windows 7
What steps will reproduce the problem?
Create a page which spawns javascript alert dialogs from the main page and an iframe with a data: URL. e.g. page source
<!DOCTYPE html>
<iframe src="data:text/html,<script>alert('ifr');</script>an iframe page">/iframe>
<script>alert("main");</script>
Load the page from a server. First the alert from main page is shown. Now open a new tab to switch focus away without dismissing the dialog. Go back to original tab. It can be seen that the first alert has been auto-dismissed and now the second one from iframe is shown. Switch again to a different tab keeping the dialog.
What is the expected result?
The second alert from data:URL is auto-dismissed.
What happens instead?
The dialog persists.
The same effect can be seen on a data: URL as top frame itself.
Auto-dismiss of dialogs on switch-away (629964) should be applicable to these too, I think.
Comment 1 by ha...@opera.com
, Nov 9