add isInspectable property

Reviewed By: Hypuk

Differential Revision: D6578736

fbshipit-source-id: a4229c3766125ff55cff50a49893b2385f9c8a6a
This commit is contained in:
Ben Nham
2017-12-18 13:32:36 -08:00
committed by Facebook Github Bot
parent 3852c42ad8
commit 15cd98b782
7 changed files with 26 additions and 0 deletions
@@ -190,6 +190,10 @@ void* NativeToJsBridge::getJavaScriptContext() {
return m_executor->getJavaScriptContext();
}
bool NativeToJsBridge::isInspectable() {
return m_executor->isInspectable();
}
#ifdef WITH_JSC_MEMORY_PRESSURE
void NativeToJsBridge::handleMemoryPressure(int pressureLevel) {
runOnExecutorQueue([=] (JSExecutor* executor) {