MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getObjectProperty

Method getObjectProperty

valdi/src/valdi/runtime/Interfaces/IJavaScriptContext.cpp:134–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 JSFunctionCallContext& callContext) {
133 auto func = getObjectProperty(object, propertyName, callContext.getExceptionTracker());
134 CHECK_CALL_CONTEXT(callContext);
135
136 callContext.setThisValue(object);
137 return callObjectAsFunction(func.get(), callContext);
138}
139
140JSValueRef IJavaScriptContext::callObjectProperty(const JSValue& object,
141 const std::string_view& propertyName,
142 JSFunctionCallContext& callContext) {

Callers 15

getGlobalOnMessageFunction · 0.45
getFromJSPromiseMethod · 0.45
doOnCompleteMethod · 0.45
getStackTraceMethod · 0.45
nameFromJSFunctionFunction · 0.45
visitPropertyNameMethod · 0.45
jsArrayGetLengthFunction · 0.45
onModuleLoadedMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected