| 873 | void QuickJSJavaScriptContext::setObjectProperty(const Valdi::JSValue& object, |
| 874 | const std::string_view& propertyName, |
| 875 | const Valdi::JSValue& propertyValue, |
| 876 | bool enumerable, |
| 877 | Valdi::JSExceptionTracker& exceptionTracker) { |
| 878 | auto guard = _threadAccessChecker.guard(); |
| 879 | // JS_SetProperty() automatically releases the given value. |
| 880 | auto retainedJsValue = JS_DupValue(_context, fromValdiJSValue(propertyValue)); |
| 881 | |
| 882 | if (VALDI_LIKELY(enumerable)) { |
nothing calls this directly
no test coverage detected