mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-25 14:17:22 +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
|
* 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
|
* interface over the array one, since it avoids creating an nsIArray object
|
||||||
* and the interface is already the correct type.
|
* and the interface is already the correct type.
|
||||||
|
*
|
||||||
|
* @throws NS_ERROR_NOT_AVAILABLE if containerOpen is false.
|
||||||
*/
|
*/
|
||||||
readonly attribute PRUint32 childCount;
|
readonly attribute PRUint32 childCount;
|
||||||
nsINavHistoryResultNode getChild(in PRUint32 index);
|
nsINavHistoryResultNode getChild(in PRUint32 index);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user