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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 16 02:26:46 PDT 2013


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





--- Comment #13 from jochen at chromium.org  2013-04-16 02:25:02 PST ---
(In reply to comment #12)
> (In reply to comment #11)
> 
> > 
> > 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.
> 
> Doesn't this render pop-under impossible then? Maybe I don't know what you mean by pop-under.

No, you can still do this:

window.open("popup.html", "mypopup", "width=100,height=100");
window.open("about:blank").close();

the second window.open will create a new tab, so it focuses the original window again, thus turning the popup into a popunder

-- 
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