WebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=28829
authoradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 29 Aug 2009 23:59:22 +0000 (23:59 +0000)
committeradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 29 Aug 2009 23:59:22 +0000 (23:59 +0000)
commit64ad86040c5a15fa15ce0c08a7c342885ecc4e37
treec5cde2396447cc13258a90fa503d0204eac3e2c2
parent9c986565021a16fdfd944d75595e23ff92c75276
WebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=28829
Crash in AccessibilityRenderObject::activeDescendant when trying to set aria-activedescendant to something without a renderer

Reviewed by Dan Bernstein.

Test: accessibility/aria-activedescendant-crash.html

* accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::activeDescendant): Nil check.

LayoutTests: Test for https://bugs.webkit.org/show_bug.cgi?id=28829
Crash in AccessibilityRenderObject::activeDescendant when trying to set aria-activedescendant to something without a renderer

Reviewed by Dan Bernstein.

* accessibility/aria-activedescendant-crash-expected.txt: Added.
* accessibility/aria-activedescendant-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@47883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/accessibility/aria-activedescendant-crash-expected.txt [new file with mode: 0644]
LayoutTests/accessibility/aria-activedescendant-crash.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/accessibility/AccessibilityRenderObject.cpp