Lines Matching defs:GetOwnProperty
269 // ES6 9.5.5 [[GetOwnProperty]] (P)
270 bool JSProxy::GetOwnProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, const JSHandle<JSTaggedValue> &key,
284 // a. Return target.[[GetOwnProperty]](P).
290 THROW_TYPE_ERROR_AND_RETURN(thread, "JSProxy::GetOwnProperty: handler is null", false);
300 return JSTaggedValue::GetOwnProperty(thread, targetHandle, key, desc);
315 THROW_TYPE_ERROR_AND_RETURN(thread, "JSProxy::GetOwnProperty: TypeError of trapResultObj", false);
317 // 12. Let targetDesc be target.[[GetOwnProperty]](P).
319 bool found = JSTaggedValue::GetOwnProperty(thread, targetHandle, key, targetDesc);
331 THROW_TYPE_ERROR_AND_RETURN(thread, "JSProxy::GetOwnProperty: targetDesc.[[Configurable]] is false", false);
338 THROW_TYPE_ERROR_AND_RETURN(thread, "JSProxy::GetOwnProperty: extensibleTarget is false", false);
355 THROW_TYPE_ERROR_AND_RETURN(thread, "JSProxy::GetOwnProperty: TypeError of valid", false);
361 THROW_TYPE_ERROR_AND_RETURN(thread, "JSProxy::GetOwnProperty: TypeError of targetDesc configurable", false);
366 THROW_TYPE_ERROR_AND_RETURN(thread, "JSProxy::GetOwnProperty: TypeError of targetDesc writable", false);
379 // step 1 ~ 10 are almost same as GetOwnProperty
411 // 13. Let targetDesc be target.[[GetOwnProperty]](P).
413 bool found = JSTaggedValue::GetOwnProperty(thread, targetHandle, key, targetDesc);
462 // step 1 ~ 10 are almost same as GetOwnProperty
494 // a. Let targetDesc be target.[[GetOwnProperty]](P).
496 bool found = JSTaggedValue::GetOwnProperty(thread, targetHandle, key, targetDesc);
522 // step 1 ~ 10 are almost same as GetOwnProperty
556 // 11. Let targetDesc be target.[[GetOwnProperty]](P).
558 bool found = JSTaggedValue::GetOwnProperty(thread, targetHandle, key, targetDesc);
597 // step 1 ~ 10 are almost same as GetOwnProperty
632 // 13. Let targetDesc be target.[[GetOwnProperty]](P).
634 bool found = JSTaggedValue::GetOwnProperty(thread, targetHandle, key, targetDesc);
660 // step 1 ~ 13 are almost same as GetOwnProperty
692 // 13. Let targetDesc be target.[[GetOwnProperty]](P).
694 bool found = JSTaggedValue::GetOwnProperty(thread, targetHandle, key, targetDesc);
777 // a.Let desc be target.[[GetOwnProperty]](key).
794 JSTaggedValue::GetOwnProperty(thread, targetHandle, targetKey, desc);