[gjs/mozjs78: 46/50] global: Remove options that are now default
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/mozjs78: 46/50] global: Remove options that are now default
- Date: Tue, 4 Aug 2020 06:31:40 +0000 (UTC)
commit e08e9905be34452462ac76a81b7c0b6b7a69feba
Author: Philip Chimento <philip chimento gmail com>
Date: Tue Jul 28 09:44:50 2020 -0700
global: Remove options that are now default
See: GNOME/gjs#329
gjs/global.cpp | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gjs/global.cpp b/gjs/global.cpp
index 850df908..82fb427c 100644
--- a/gjs/global.cpp
+++ b/gjs/global.cpp
@@ -59,9 +59,6 @@ union Utf8Unit;
class GjsBaseGlobal {
static JSObject* base(JSContext* cx, const JSClass* clasp,
JS::RealmCreationOptions options) {
- options.setBigIntEnabled(true);
- options.setFieldsEnabled(true);
-
JS::RealmBehaviors behaviors;
JS::RealmOptions compartment_options(options, behaviors);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]