Changeset 68970 in webkit


Ignore:
Timestamp:
Oct 1, 2010 8:22:06 PM (14 years ago)
Author:
Martin Robinson
Message:

2010-10-01 Martin Robinson <mrobinson@igalia.com>

Reviewed by Adam Barth.

[GTK] r68923 broke some plugin tests
https://bugs.webkit.org/show_bug.cgi?id=47040

No longer pass focus and blur events to plugins when the "old" DOM Level
2 DOMFocusIn/DOMFocusOut events occur. r68923 made a change which means
that the DOM Level 3 version is always fired for this event.

No new tests, as this should cause the failing tests to pass.

  • plugins/PluginView.cpp: (WebCore::PluginView::handleEvent): No longer pass focus and blur events to plugins when DOMFocusIn / DOMFocusOut events occur.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r68962 r68970  
     12010-10-01  Martin Robinson  <mrobinson@igalia.com>
     2
     3        Reviewed by Adam Barth.
     4
     5        [GTK] r68923 broke some plugin tests
     6        https://bugs.webkit.org/show_bug.cgi?id=47040
     7
     8        No longer pass focus and blur events to plugins when the "old" DOM Level
     9        2 DOMFocusIn/DOMFocusOut events occur. r68923 made a change which means
     10        that the DOM Level 3 version is always fired for this event.
     11
     12        No new tests, as this should cause the failing tests to pass.
     13
     14        * plugins/PluginView.cpp:
     15        (WebCore::PluginView::handleEvent): No longer pass focus and blur events to
     16        plugins when DOMFocusIn / DOMFocusOut events occur.
     17
    1182010-10-01  Anders Carlsson  <andersca@apple.com>
    219
  • trunk/WebCore/plugins/PluginView.cpp

    r68390 r68970  
    171171        handleKeyboardEvent(static_cast<KeyboardEvent*>(event));
    172172#if defined(XP_UNIX) && ENABLE(NETSCAPE_PLUGIN_API)
    173     else if (event->type() == eventNames().DOMFocusOutEvent || event->type() == eventNames().focusoutEvent)
     173    else if (event->type() == eventNames().focusoutEvent)
    174174        handleFocusOutEvent();
    175     else if (event->type() == eventNames().DOMFocusInEvent || event->type() == eventNames().focusinEvent)
     175    else if (event->type() == eventNames().focusinEvent)
    176176        handleFocusInEvent();
    177177#endif
Note: See TracChangeset for help on using the changeset viewer.