WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIJSContextStackIterator

IID:c7e6b7aa-fc12-4ca7-b140-98c38b698961
Inherits From:nsISupports

Methods

PRBool done ( ) JSContext* prev ( ) void reset ( nsIJSContextStack stack )

PRBool done ( )

Returns true if this iterator is at the end of its stack's contexts.


JSContext* prev ( )

Returns the prev JSContext off of stack. Note that because we're iterating over a stack, this value would be the next popped value.


void reset ( nsIJSContextStack stack )

Resets this iterator to the beginning of this thread's stack.

Arguments:
stack

Reference documentation is generated from Mozilla's source.