mirror of
https://github.com/openharmony/ark_js_runtime.git
synced 2026-08-27 10:41:15 -04:00
!1599 fix the problem that the use case fails on the rk3516 board
Merge pull request !1599 from hjzhangcm/master
This commit is contained in:
@@ -240,12 +240,13 @@ JSTaggedValue TestDefinedSetter([[maybe_unused]] EcmaRuntimeCallInfo *argv)
|
||||
return JSTaggedValue(12);
|
||||
}
|
||||
|
||||
JSTaggedValue TestBoolSetter([[maybe_unused]] EcmaRuntimeCallInfo *argv)
|
||||
bool TestBoolSetter([[maybe_unused]] JSThread *thread,
|
||||
[[maybe_unused]] JSHandle<JSObject> &jsObject,
|
||||
[[maybe_unused]] JSHandle<JSTaggedValue> &value,
|
||||
[[maybe_unused]] bool success)
|
||||
{
|
||||
// 12 : test case
|
||||
return JSTaggedValue(JSTaggedValue::True());
|
||||
return true;
|
||||
}
|
||||
|
||||
static JSFunction *JSObjectTestCreate(JSThread *thread)
|
||||
{
|
||||
JSHandle<GlobalEnv> globalEnv = thread->GetEcmaVM()->GetGlobalEnv();
|
||||
|
||||
Reference in New Issue
Block a user