From 87862dc2596616957a8f49706cf358a543ff997e Mon Sep 17 00:00:00 2001 From: Jianchun Xu Date: Wed, 22 Jul 2015 09:20:51 -0700 Subject: [PATCH] chakrashim: enable chakra experimental features Enable chakra experimental features by default. Reviewed-by: @kunalspathak --- deps/chakrashim/src/jsrtisolateshim.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deps/chakrashim/src/jsrtisolateshim.cc b/deps/chakrashim/src/jsrtisolateshim.cc index 47e8337c302..17f8e63c134 100644 --- a/deps/chakrashim/src/jsrtisolateshim.cc +++ b/deps/chakrashim/src/jsrtisolateshim.cc @@ -63,7 +63,10 @@ IsolateShim::~IsolateShim() { JsRuntimeHandle runtime; JsErrorCode error = - JsCreateRuntime(JsRuntimeAttributeAllowScriptInterrupt, nullptr, &runtime); + JsCreateRuntime(static_cast( + JsRuntimeAttributeAllowScriptInterrupt | + JsRuntimeAttributeEnableExperimentalFeatures), + nullptr, &runtime); if (error != JsNoError) { return nullptr; }