Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
chakrashim: enable chakra experimental features
Browse files Browse the repository at this point in the history
Enable chakra experimental features by default.

Reviewed-by: @kunalspathak
  • Loading branch information
Jianchun Xu committed Jul 22, 2015
1 parent d24d422 commit 87862dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deps/chakrashim/src/jsrtisolateshim.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ IsolateShim::~IsolateShim() {

JsRuntimeHandle runtime;
JsErrorCode error =
JsCreateRuntime(JsRuntimeAttributeAllowScriptInterrupt, nullptr, &runtime);
JsCreateRuntime(static_cast<JsRuntimeAttributes>(
JsRuntimeAttributeAllowScriptInterrupt |
JsRuntimeAttributeEnableExperimentalFeatures),
nullptr, &runtime);
if (error != JsNoError) {
return nullptr;
}
Expand Down

0 comments on commit 87862dc

Please sign in to comment.