mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 13:54:27 +00:00
Bug 376954 - Document about when accessing childCount throws. patch from Johnathan Nightingale <johnath@mozilla.com>, r=me.
This commit is contained in:
parent
768c4382ff
commit
9c6f79eff6
@ -245,6 +245,8 @@ interface nsINavHistoryContainerResultNode : nsINavHistoryResultNode
|
||||
* This gives you the children of the nodes. It is preferrable to use this
|
||||
* interface over the array one, since it avoids creating an nsIArray object
|
||||
* and the interface is already the correct type.
|
||||
*
|
||||
* @throws NS_ERROR_NOT_AVAILABLE if containerOpen is false.
|
||||
*/
|
||||
readonly attribute PRUint32 childCount;
|
||||
nsINavHistoryResultNode getChild(in PRUint32 index);
|
||||
|
Loading…
Reference in New Issue
Block a user