mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-12 22:39:06 +08:00
Gatekeeper for Native Extensions
Reviewed By: danzimm, johnislarry Differential Revision: D6965463 fbshipit-source-id: 28bcfbff980abfda3c63d7016ccf05beb1d178eb
This commit is contained in:
committed by
Facebook Github Bot
parent
c989ea8728
commit
8e85bf84e8
@@ -134,8 +134,10 @@ namespace facebook {
|
||||
installGlobalProxy(m_context, "nativeModuleProxy",
|
||||
exceptionWrapMethod<&JSCExecutor::getNativeModule>());
|
||||
}
|
||||
installGlobalProxy(m_context, "nativeExtensions",
|
||||
exceptionWrapMethod<&JSCExecutor::getNativeExtension>());
|
||||
if (nativeExtensionsProvider) {
|
||||
installGlobalProxy(m_context, "nativeExtensions",
|
||||
exceptionWrapMethod<&JSCExecutor::getNativeExtension>());
|
||||
}
|
||||
}
|
||||
|
||||
JSCExecutor::~JSCExecutor() {
|
||||
|
||||
Reference in New Issue
Block a user