[Webkit-unassigned] [Bug 33389] New: window.focus() should be disabled when not user-initiated

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 8 09:37:13 PST 2010


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

           Summary: window.focus() should be disabled when not
                    user-initiated
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: steveblock at google.com
                CC: phanna at email.unc.edu,
                    android-webkit-unforking at google.com


Currently, window.focus can be used to shift the focus to another tab or
window, even if this is not user-initiated. This can cause a jarring user
experience so should be disallowed.

Note that Firefox disables window.focus() when called from a page's onload
handler.

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