• mrowe@apple.com's avatar
    2008-04-22 Feng Qian <ian.eng.webkit@gmail.com> · 1be36d4d
    mrowe@apple.com authored
            Reviewed by Geoff Garen.
    
            Fix https://bugs.webkit.org/show_bug.cgi?id=18677
            Bug 18677: Synchronous event dispatch confuses the popup blocker into incorrectly blocking chat popups in gmail.com.
    
            Test: fast/events/nested-window-event.html
    
            * bindings/js/kjs_events.cpp:
            (WebCore::JSAbstractEventListener::handleEvent): Save and restore the current event around the event dispatch.
    
    2008-04-22  Feng Qian  <ian.eng.webkit@gmail.com>
    
            Reviewed by Geoff Garen.
    
            Test for nested event handlers.
    
            * fast/events/nested-window-event-expected.txt: Added.
            * fast/events/nested-window-event.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1be36d4d
kjs_events.cpp 10.4 KB