[gjs/wip/ptomato/mozjs45prep: 20/23] js: JS_InitReflect() is now implicit
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/mozjs45prep: 20/23] js: JS_InitReflect() is now implicit
- Date: Tue, 21 Mar 2017 10:58:15 +0000 (UTC)
commit 24bf1cd43fd89f1f42c8cb238ea0fb1eda032864
Author: Philip Chimento <philip endlessm com>
Date: Sun Mar 19 07:39:52 2017 +0000
js: JS_InitReflect() is now implicit
gjs/coverage.cpp | 5 -----
gjs/jsapi-util.cpp | 3 ---
2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gjs/coverage.cpp b/gjs/coverage.cpp
index 794487b..902c501 100644
--- a/gjs/coverage.cpp
+++ b/gjs/coverage.cpp
@@ -1610,11 +1610,6 @@ bootstrap_coverage(GjsCoverage *coverage)
return false;
}
- if (!JS_InitReflect(context, debugger_compartment)) {
- gjs_throw(context, "Failed to init Reflect");
- return false;
- }
-
if (!JS_DefineDebuggerObject(context, debugger_compartment)) {
gjs_throw(context, "Failed to init Debugger");
return false;
diff --git a/gjs/jsapi-util.cpp b/gjs/jsapi-util.cpp
index a835533..42f12fe 100644
--- a/gjs/jsapi-util.cpp
+++ b/gjs/jsapi-util.cpp
@@ -110,9 +110,6 @@ gjs_init_context_standard (JSContext *context,
if (!JS_InitStandardClasses(context, global))
return false;
- if (!JS_InitReflect(context, global))
- return false;
-
if (!JS_DefineDebuggerObject(context, global))
return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]