Bug 376954 - Document about when accessing childCount throws. patch from Johnathan Nightingale <johnath@mozilla.com>, r=me.

This commit is contained in:
mozilla.mano@sent.com 2007-04-09 17:42:13 -07:00
parent 768c4382ff
commit 9c6f79eff6

View File

@ -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);