[Webkit-unassigned] [Bug 17670] New: Keyup event improperly propagates from iframe to parent frame

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 4 11:26:46 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17670

           Summary: Keyup event improperly propagates from iframe to parent
                    frame
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rob.brackett at gmail.com


A keyup event (but not keydown or keypress) generated inside an iframe can be
captured on the document that contains the iframe, even though this shouldn't
be possible.

This can be tested by creating a page with an iframe and adding a keyup event
listener to the page's document and the iframe's document. If you give an
element in the containing document focus and press a key, the document's keyup
listener will fire. If you give an element in the iframe focus and press a key,
both the iframe document's keyup listener AND the containing window document's
keyup listener will fire.

Note: I have observed this on Mac OS X 10.4 and 10.5 on both PPC and Intel. The
bug does NOT appear on Windows Vista. I have not tested Windows XP.


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



More information about the webkit-unassigned mailing list