[Webkit-unassigned] [Bug 65487] New: window.open behaves differently in onchange vs onclick event handlers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 1 14:35:52 PDT 2011


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

           Summary: window.open behaves differently in onchange vs onclick
                    event handlers
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bradavogel at gmail.com


Repro:
1) Open attached test.html in Chrome 12
2) Click "Open window google.com" button. A new tab will open.
3) Now click the selector and select "google.com".

In step #3, the site will open as a new window (NOT a tab like step #2) and is vulnerable to the browser's popup blocker.

Why does calling window.open with the same parameters in an onclick vs onchange behave differently?

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