[GTK] editing/inserting/4960120-2.html flaky crash
authormario@webkit.org <mario@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Feb 2012 17:58:57 +0000 (17:58 +0000)
committermario@webkit.org <mario@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Feb 2012 17:58:57 +0000 (17:58 +0000)
commitb311bdbbd6cf8182f4f57e45e8127448a0e00c7e
tree0e31f8683ea3aa69c82767ab34cf3c810912ed37
parent8ec6b57d1786aac0d48c7b7527aca6a6d5f25dda
[GTK] editing/inserting/4960120-2.html flaky crash
https://bugs.webkit.org/show_bug.cgi?id=76815

Reviewed by Martin Robinson.

Source/WebCore:

Check if the node for the first parent object not ignoring
accessibility is null before using it. This might happen with
certain kind of accessibility objects, such as the root one (the
scroller containing the webArea object as its only child).

* accessibility/gtk/WebKitAccessibleWrapperAtk.cpp:
(objectFocusedAndCaretOffsetUnignored): Add missing null check.

LayoutTests:

* platform/gtk/test_expectations.txt: Unskipping tests that
shouldn't be crashing from now on.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/gtk/test_expectations.txt
Source/WebCore/ChangeLog
Source/WebCore/accessibility/gtk/WebKitAccessibleWrapperAtk.cpp