Changeset 148081 in webkit


Ignore:
Timestamp:
Apr 10, 2013 12:36:42 AM (11 years ago)
Author:
zandobersek@gmail.com
Message:

REGRESSION (r147719): Failures in two a11y tests on GTK
https://bugs.webkit.org/show_bug.cgi?id=114259

Reviewed by Ryosuke Niwa.

No new tests - covered by existing tests.

Partially revert r147719, restoring the possible creation of the AXObject cache
and the subsequent call to its handleFocusedUIElementChanged method. Removing this
code caused regressions in accessibility tests on the GTK port, so the comment about
the AXObject cache is adjusted accordingly.

  • dom/Document.cpp:

(WebCore::Document::setFocusedNode):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r148079 r148081  
     12013-04-10  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        REGRESSION (r147719): Failures in two a11y tests on GTK
     4        https://bugs.webkit.org/show_bug.cgi?id=114259
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        No new tests - covered by existing tests.
     9
     10        Partially revert r147719, restoring the possible creation of the AXObject cache
     11        and the subsequent call to its handleFocusedUIElementChanged method. Removing this
     12        code caused regressions in accessibility tests on the GTK port, so the comment about
     13        the AXObject cache is adjusted accordingly.
     14
     15        * dom/Document.cpp:
     16        (WebCore::Document::setFocusedNode):
     17
    1182013-04-09  Philippe Normand  <pnormand@igalia.com>
    219
  • trunk/Source/WebCore/dom/Document.cpp

    r147942 r148081  
    34893489    }
    34903490
     3491    if (!focusChangeBlocked && m_focusedNode) {
     3492        // Create the AXObject cache in a focus change because GTK relies on it.
     3493        if (AXObjectCache* cache = axObjectCache())
     3494            cache->handleFocusedUIElementChanged(oldFocusedNode.get(), newFocusedNode.get());
     3495    }
     3496
    34913497    if (!focusChangeBlocked)
    34923498        page()->chrome()->focusedNodeChanged(m_focusedNode.get());
Note: See TracChangeset for help on using the changeset viewer.