[gjs/wip/ptomato/mozjs31: 22/24] maint: Remove erroneous comment
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/mozjs31: 22/24] maint: Remove erroneous comment
- Date: Tue, 15 Nov 2016 00:25:25 +0000 (UTC)
commit 17f648c394446c356307422af2f85ffb3809c8d0
Author: Philip Chimento <philip endlessm com>
Date: Mon Nov 14 15:59:34 2016 -0800
maint: Remove erroneous comment
I added this comment with an incorrect understanding of how
JSAutoSaveExceptionState works. It can't be used for this purpose, since
it doesn't save and restore the state of "no exception".
https://bugzilla.gnome.org/show_bug.cgi?id=751252
gi/repo.cpp | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gi/repo.cpp b/gi/repo.cpp
index 8dadb46..00c6e64 100644
--- a/gi/repo.cpp
+++ b/gi/repo.cpp
@@ -595,7 +595,6 @@ lookup_override_function(JSContext *cx,
return function.toObjectOrNull();
fail:
- /* COMPAT: Use JS::AutoSaveExceptionState and move rooting to be late */
JS_ClearPendingException(cx);
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]