Bug 883672 - Inherit XULLinkAccessible from XULLabelAccessible + test. r=surkov

This commit is contained in:
Arnaud Sourioux 2013-08-20 16:42:26 -04:00
parent c8880fc5aa
commit b226e33120
3 changed files with 3 additions and 6 deletions

View File

@ -183,12 +183,12 @@ XULTooltipAccessible::NativeRole()
XULLinkAccessible::
XULLinkAccessible(nsIContent* aContent, DocAccessible* aDoc) :
HyperTextAccessibleWrap(aContent, aDoc)
XULLabelAccessible(aContent, aDoc)
{
}
// Expose nsIAccessibleHyperLink unconditionally
NS_IMPL_ISUPPORTS_INHERITED1(XULLinkAccessible, HyperTextAccessibleWrap,
NS_IMPL_ISUPPORTS_INHERITED1(XULLinkAccessible, XULLabelAccessible,
nsIAccessibleHyperLink)
////////////////////////////////////////////////////////////////////////////////

View File

@ -79,7 +79,7 @@ public:
virtual uint64_t NativeState();
};
class XULLinkAccessible : public HyperTextAccessibleWrap
class XULLinkAccessible : public XULLabelAccessible
{
public:

View File

@ -23,9 +23,6 @@
<script type="application/javascript">
<![CDATA[
if (MAC)
SimpleTest.expectAssertions(1);
function testThis(aID, aAcc, aRole, aAnchorCount, aAnchorName, aURI,
aStartIndex, aEndIndex, aValid)
{