Source/WebKit/efl/ewk/ewk_view.cpp
Eina_Bool ewk_view_should_interrupt_javascript(Evas_Object* o)
{
    DBG("o=%p", o);
    EWK_VIEW_SD_GET_OR_RETURN(o, sd, EINA_FALSE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api, EINA_FALSE);

    if (!sd->api->should_interrupt_javascript)
        return EINA_FALSE;

    return sd->api->should_interrupt_javascript(sd);
}
/**
 * @internal
 * Delegates to client to decide whether a script must be stopped because it's
 * running for too long. If client does not implement it, it goes to default
 * implementation, which logs and returns EINA_FALSE. Client may remove log by
 * setting this function 0, which will just return EINA_FALSE.
 *
 * @param o View.
 *
 * @return @c EINA_TRUE if script should be stopped; @c EINA_FALSE otherwise
 */
@internal
Delegates to client to decide whether a script must be stopped because it's
running for too long. If client does not implement it, it goes to default
implementation, which logs and returns EINA_FALSE. Client may remove log by
setting this function 0, which will just return EINA_FALSE.

@param o View.

@return @c EINA_TRUE if script should be stopped; @c EINA_FALSE otherwise
@internal Delegates to client to decide whether a script must be stopped because it ' s running for too long . If client does not implement it it goes to default implementation which logs and returns EINA_FALSE . Client may remove log by setting this function 0 which will just return EINA_FALSE . @param o View . @return @c EINA_TRUE if script should be stopped ; @c EINA_FALSE otherwise
Eina_Bool ewk_view_should_interrupt_javascript(Evas_Object* o)
{
    DBG("o=%p", o);
    EWK_VIEW_SD_GET_OR_RETURN(o, sd, EINA_FALSE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(sd->api, EINA_FALSE);
    if (!sd->api->should_interrupt_javascript)
        return EINA_FALSE;
    return sd->api->should_interrupt_javascript(sd);
}
Eina_Bool ewk_view_should_interrupt_javascript ( Evas_Object * o ) { DBG ( " " , o ) ; EWK_VIEW_SD_GET_OR_RETURN ( o , sd , EINA_FALSE ) ; EINA_SAFETY_ON_NULL_RETURN_VAL ( sd -> api , EINA_FALSE ) ; if ( ! sd -> api -> should_interrupt_javascript ) return EINA_FALSE ; return sd -> api -> should_interrupt_javascript ( sd ) ; }
@internal
 Delegates to client to decide whether a script must be stopped because it's
 running for too long.
@internal Delegates to client to decide whether a script must be stopped because it ' s running for too long .