Comment 51 for bug 781931

Revision history for this message
Teo (teo1978) wrote :

Here's another case, which I thought was a bug in Google Chrome but I think is a consequence of this one.

Sometimes malicious websites open a maximized popup with ads or something (which for some reason Google Chrome fails to block). Then the popup is on front and maximized, but it doesn't have focus. The result is that when you click on the X to close the window, you are actually closing the window behind it which is the original one!!!!

Actually being on front and having focus should be the very same thing at the deepest level exposed to applications. The concepts of "giving focus to a window" and "bringing a window to front" should not even exist as separate things.