Bug 1173513 - Point to SavedFrame.md docs from JSAPI comments; r=fitzgen

This commit is contained in:
Nick Fitzgerald 2015-06-10 15:59:00 +02:00
parent ff0f4006fd
commit 8cbd1d4f0f

View File

@ -4018,6 +4018,9 @@ namespace JS {
*
* The provided chain of SavedFrame objects can live in any compartment,
* although it will be copied to the compartment where the stack is captured.
*
* See also `js/src/doc/SavedFrame/SavedFrame.md` for documentation on async
* stack frames.
*/
class MOZ_STACK_CLASS JS_PUBLIC_API(AutoSetAsyncStackForNewCalls)
{
@ -5301,6 +5304,8 @@ CaptureCurrentStack(JSContext* cx, MutableHandleObject stackp, unsigned maxFrame
* caller's principals do not subsume any of the chained SavedFrame object's
* principals, `SavedFrameResult::AccessDenied` is returned and a (hopefully)
* sane default value is chosen for the out param.
*
* See also `js/src/doc/SavedFrame/SavedFrame.md`.
*/
enum class SavedFrameResult {