From aa873a798d615469fa55690b737b449c0ed9a9c2 Mon Sep 17 00:00:00 2001 From: Steve Fink Date: Mon, 24 Jan 2011 14:43:39 -0800 Subject: [PATCH] Improve comment. Related to bug 627943. --HG-- extra : rebase_source : 66619f6ab6ed81dd0a7d01df5a03274229b5e12e --- js/src/jscntxt.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/src/jscntxt.cpp b/js/src/jscntxt.cpp index 6715a548a20..e4fc1b8553f 100644 --- a/js/src/jscntxt.cpp +++ b/js/src/jscntxt.cpp @@ -2033,9 +2033,8 @@ error: /* * Since this function is only called in the context of a pending exception, - * the caller must subsequently take an error path. If wrapping fails, we leave - * the exception cleared, which, in the context of an error path, will be - * interpreted as an uncatchable exception. + * the caller must subsequently take an error path. If wrapping fails, it will + * set a new (uncatchable) exception to be used in place of the original. */ void JSContext::wrapPendingException()