Changeset 230406 in webkit


Ignore:
Timestamp:
Apr 9, 2018 5:13:57 AM (6 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r229499 - AX: AOM: More accessibility events support
https://bugs.webkit.org/show_bug.cgi?id=183023
<rdar://problem/37764380>

Reviewed by Chris Fleizach.

Source/WebCore:

The test is crashing when we call updateBackingStore when
the AXObjectCache object is gone. Added a check to fix that.

Modified the test by using the right format of setTimeout and extended the delay.

  • accessibility/AccessibilityObject.cpp:

(WebCore::AccessibilityObject::updateBackingStore):

LayoutTests:

  • accessibility/mac/AOM-events-webarea-crash.html:
Location:
releases/WebKitGTK/webkit-2.20
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.20/LayoutTests/ChangeLog

    r230400 r230406  
     12018-03-09  Nan Wang  <n_wang@apple.com>
     2
     3        AX: AOM: More accessibility events support
     4        https://bugs.webkit.org/show_bug.cgi?id=183023
     5        <rdar://problem/37764380>
     6
     7        Reviewed by Chris Fleizach.
     8
     9        * accessibility/mac/AOM-events-webarea-crash.html:
     10
    1112018-03-07  Zalan Bujtas  <zalan@apple.com>
    212
  • releases/WebKitGTK/webkit-2.20/Source/WebCore/ChangeLog

    r230404 r230406  
     12018-03-09  Nan Wang  <n_wang@apple.com>
     2
     3        AX: AOM: More accessibility events support
     4        https://bugs.webkit.org/show_bug.cgi?id=183023
     5        <rdar://problem/37764380>
     6
     7        Reviewed by Chris Fleizach.
     8
     9        The test is crashing when we call updateBackingStore when
     10        the AXObjectCache object is gone. Added a check to fix that.
     11
     12        Modified the test by using the right format of setTimeout and extended the delay.
     13
     14        * accessibility/AccessibilityObject.cpp:
     15        (WebCore::AccessibilityObject::updateBackingStore):
     16
    1172018-03-12  Danyao Wang  <danyao@chromium.org>
    218
  • releases/WebKitGTK/webkit-2.20/Source/WebCore/accessibility/AccessibilityObject.cpp

    r228753 r230406  
    17661766void AccessibilityObject::updateBackingStore()
    17671767{
     1768    if (!axObjectCache())
     1769        return;
     1770   
    17681771    // Updating the layout may delete this object.
    17691772    RefPtr<AccessibilityObject> protectedThis(this);
Note: See TracChangeset for help on using the changeset viewer.