Home
last modified time | relevance | path

Searched refs:errorObject (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_errors_test.cpp145 …JSHandle<JSTaggedValue> errorObject(thread, reinterpret_cast<TaggedObject *>(result.GetRawData())); in HWTEST_F_L0() local
149 JSHandle<JSTaggedValue> msgValue(JSObject::GetProperty(thread, errorObject, msgKey).GetValue()); in HWTEST_F_L0()
153 … JSHandle<JSTaggedValue> nameValue(JSObject::GetProperty(thread, errorObject, nameKey).GetValue()); in HWTEST_F_L0()
181 …JSHandle<JSTaggedValue> errorObject(thread, reinterpret_cast<TaggedObject *>(result.GetRawData())); in HWTEST_F_L0() local
184 JSHandle<JSTaggedValue> msgValue(JSObject::GetProperty(thread, errorObject, msgKey).GetValue()); in HWTEST_F_L0()
189 … JSHandle<JSTaggedValue> nameValue(JSObject::GetProperty(thread, errorObject, nameKey).GetValue()); in HWTEST_F_L0()
204 JSHandle<JSTaggedValue> errorObject = env->GetErrorFunction(); in HWTEST_F_L0() local
205 …SObject> error = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(errorObject), errorObject); in HWTEST_F_L0()
229 JSHandle<JSTaggedValue> errorObject = env->GetErrorFunction(); in HWTEST_F_L0() local
230 …SObject> error = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(errorObject), errorObject); in HWTEST_F_L0()
[all …]
Dbuiltins_object_test.cpp913 JSHandle<JSTaggedValue> errorObject = env->GetErrorFunction(); in HWTEST_F_L0() local
915 …etEcmaVM()->GetFactory()->NewJSObjectByConstructor(JSHandle<JSFunction>(errorObject), errorObject); in HWTEST_F_L0()