Searched refs:causeKey (Results 1 - 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | error_helper.cpp | 170 JSHandle<JSTaggedValue> causeKey = globalConst->GetHandledCauseString(); in ErrorCommonConstructor() local 171 bool causePresent = JSTaggedValue::HasProperty(thread, options, causeKey); in ErrorCommonConstructor() 174 JSHandle<JSTaggedValue> cause = JSObject::GetProperty(thread, options, causeKey).GetValue(); in ErrorCommonConstructor() 177 [[maybe_unused]] bool status = JSObject::DefineOwnProperty(thread, nativeInstanceObj, causeKey, causeDesc); in ErrorCommonConstructor()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_errors.cpp | 161 JSHandle<JSTaggedValue> causeKey = globalConst->GetHandledCauseString(); in AggregateErrorConstructor() local 162 bool causePresent = JSTaggedValue::HasProperty(thread, options, causeKey); in AggregateErrorConstructor() 165 JSHandle<JSTaggedValue> cause = JSObject::GetProperty(thread, options, causeKey).GetValue(); in AggregateErrorConstructor() 168 JSTaggedValue::DefinePropertyOrThrow(thread, taggedObj, causeKey, causeDesc); in AggregateErrorConstructor()
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
H A D | error_helper_test.cpp | 319 JSHandle<JSTaggedValue> causeKey = thread->GlobalConstants()->GetHandledCauseString(); in HWTEST_F_L0() local 326 JSObject::SetProperty(thread, optionsObj, causeKey, causeValue); in HWTEST_F_L0() 340 JSHandle<JSTaggedValue> errorCauseValue(JSObject::GetProperty(thread, errorResult, causeKey).GetValue()); in HWTEST_F_L0() 358 JSHandle<JSTaggedValue> typeCauseValue(JSObject::GetProperty(thread, typeErrorResult, causeKey).GetValue()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_errors_test.cpp | 977 JSHandle<JSTaggedValue> causeKey = thread->GlobalConstants()->GetHandledCauseString(); in HWTEST_F_L0() local 981 JSObject::SetProperty(thread, optionsObj, causeKey, causeValue); in HWTEST_F_L0() 1007 JSHandle<JSTaggedValue> errCauseValue(JSObject::GetProperty(thread, errorObject, causeKey).GetValue()); in HWTEST_F_L0()
|
Completed in 5 milliseconds