зеркало из https://github.com/mozilla/pjs.git
Bug 560228 - assertion 'No docshell tree item for mDOMNode' when nsIAccessNode::rootDocument is called on application accessible, r=davidb
This commit is contained in:
Родитель
12b3f4dd72
Коммит
c5c2fd3be2
|
@ -58,6 +58,18 @@ nsApplicationAccessible::nsApplicationAccessible() :
|
|||
NS_IMPL_ISUPPORTS_INHERITED1(nsApplicationAccessible, nsAccessible,
|
||||
nsIAccessibleApplication)
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// nsIAccessNode
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsApplicationAccessible::GetRootDocument(nsIAccessibleDocument **aRootDocument)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aRootDocument);
|
||||
*aRootDocument = nsnull;
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// nsIAccessible
|
||||
|
||||
|
|
|
@ -68,6 +68,9 @@ public:
|
|||
// nsISupports
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
||||
// nsIAccessNode
|
||||
NS_IMETHOD GetRootDocument(nsIAccessibleDocument **aRootDocument);
|
||||
|
||||
// nsIAccessible
|
||||
NS_IMETHOD GetName(nsAString& aName);
|
||||
NS_IMETHOD GetDescription(nsAString& aValue);
|
||||
|
|
Загрузка…
Ссылка в новой задаче