Lines Matching refs:jsObject
34 JSHandle<JSObject> jsObject(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objectFunc), objectFunc));
35 EXPECT_TRUE(*jsObject != nullptr);
39 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(jsObject), handleKey1, handleValue1);
44 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(jsObject), handleKey2, handleValue2);
49 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(jsObject), handleKey3, handleValue3);
51 return jsObject.GetTaggedValue();
361 JSHandle<JSObject> jsObject(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objectFunc), objectFunc));
362 EXPECT_TRUE(*jsObject != nullptr);
367 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(jsObject), key1, value1);
371 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(jsObject), key2, value2);
373 JSHandle<JSTaggedValue> handleValue(thread, jsObject.GetTaggedValue());