Javascript modal dialog disappears when changing windows, and blocks the tab interaction
Reported by
marek.se...@itds-consulting.cz,
Jan 31 2018
|
|||||
Issue description
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.18 Safari/537.36
Steps to reproduce the problem:
1. Have Linux, I3 window-manager and 2 open windows of Chrome in tab mode (not side-by-side), left normal browsing, right private browsing
2. In normal browsing window open tab with some page, that triggers javascript dialog about closing the tab (usual "do you really want to close this window" dialog, yes and no options), do not interact with dialog
3. With mouse switch do incognito/private browsing window
4. Return back to normal browsing and observe
What is the expected behavior?
Dialog should visually stay in place
What went wrong?
1. Dialog disappeared
2. Any mouse or keyboard interaction with this tab goes in vain, also cannot switch between tabs, once the "broken tab" is currently open
3. Tab cannot be closed using keyboard (ctrl+w), mouse (click closing cross on tab UI or right-click-menu option close tab)
Did this work before? N/A
Chrome version: 65.0.3325.18 Channel: dev
OS Version: Debian 9 stretch
Flash Version:
1. verified this is reproducible bug
2. JS implementation used:
window.onbeforeunload = bunload;
function bunload(){
dontleave="Are you sure you want to leave?";
return dontleave;
}
3. race condition: because one tab is blocked with this call, if I trigger the same from different tab, then the dialog will not appear at all, it will just instantly break the tab
4. rendering of tab will, in minutes, go black, showing no content at all
5. mouse events on broken tab will not trigger any CSS (ie. links mouse-over), and the scroll-bar (if available) is broken (mouse interaction does not work)
,
Jan 31 2018
,
Feb 27 2018
Tried installing I3 window-manager on Ubuntu 14.04, but seeing no menu options or dialogs. As ET team doesn't have debian machine and I3 window-manager, could someone from In-house team please have a look at this issue. Thanks!
,
Mar 9 2018
Tested the issue using #65.0.3325.124 on Debian rodete, I3 window-manager and could not reproduce the issue. @marek: Could you please update Chrome to latest version #65.0.3325.124 and check if you still face the issue? If so please attach a URL where your'e seeing this ((usual "do you really want to close this window" dialog, yes and no options)) warning? Thanks!!
,
Sep 13
Archiving old bugs that haven't been actively assigned in over 180 days. If you feel this issue should still be addressed, feel free to reopen it or to file a new issue. Thanks! |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by marek.se...@itds-consulting.cz
, Jan 31 2018