[Webkit-unassigned] [Bug 114021] Adopt consumable user gestures

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 16 01:08:59 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=114021





--- Comment #11 from jochen at chromium.org  2013-04-16 01:07:15 PST ---
(In reply to comment #10)
> Pop-unders (if I understand correctly) are generally created by first opening a window, and then calling window.blur on the newly created window or window.focus on a different window to ensure that the new window is behind the frontmost window (or tab). 
> 
> If the goal is to prevent pop-unders, then perhaps instead of restricting window open, we should restrict changes to the stacking order for newly created windows. This would turn pop-unders into pop-ups, so at least users would know which site caused the problem. I am not sure if that would break any of the mentioned sites.

I changed that a while ago. window.blur() is now essentially a no-op, and window.focus() is very restricted (you can only focus a window you have opened when running within the context of the opening window). This matches Firefox' behavior.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list