def METHOD_NAME(this, args):
    obj = get_arg(args, 0)
    if not is_object(obj):
        raise MakeError(
            'TypeError',
            'Object.getOwnPropertyDescriptor called on non-object')
    return args.space.ConstructArray(obj.own.keys())