mirror of
https://github.com/status-im/react-native.git
synced 2025-02-10 16:36:25 +00:00
Gatekeeper for Native Extensions
Reviewed By: danzimm, johnislarry Differential Revision: D6965463 fbshipit-source-id: 28bcfbff980abfda3c63d7016ccf05beb1d178eb
This commit is contained in:
parent
c989ea8728
commit
8e85bf84e8
@ -134,8 +134,10 @@ namespace facebook {
|
|||||||
installGlobalProxy(m_context, "nativeModuleProxy",
|
installGlobalProxy(m_context, "nativeModuleProxy",
|
||||||
exceptionWrapMethod<&JSCExecutor::getNativeModule>());
|
exceptionWrapMethod<&JSCExecutor::getNativeModule>());
|
||||||
}
|
}
|
||||||
installGlobalProxy(m_context, "nativeExtensions",
|
if (nativeExtensionsProvider) {
|
||||||
exceptionWrapMethod<&JSCExecutor::getNativeExtension>());
|
installGlobalProxy(m_context, "nativeExtensions",
|
||||||
|
exceptionWrapMethod<&JSCExecutor::getNativeExtension>());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
JSCExecutor::~JSCExecutor() {
|
JSCExecutor::~JSCExecutor() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user