They are picked up because tree items and tree accessibles shares the same DOM node.
Created attachment 564126 [details] [diff] [review]
Comment on attachment 564126 [details] [diff] [review]
> Relation rel;
> PRInt32 parentIndex;
> if (!NS_SUCCEEDED(mTreeView->GetParentIndex(mRow, &parentIndex)))
> return rel;
return Relation(); ?
It looks like you could move the declaration of rel down if not get rid of it all together and just return Relation(mParent) and Relation(treeAcc.Getblah()) if you want
inbound land with Trevor's comment fixed - https://hg.mozilla.org/integration/mozilla-inbound/rev/b963098e5361