The API job is to check if an error was caused by a cancellation.
In current chromium implementation such situtation is not possible,
after I8f4e828bfcc63377678e475f44131dbc749b9c7f change.
Thus, the API will always return EINA_FALSE.
Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=11077
Reviewed by: Jaesik Chang, Piotr Tworek
Change-Id: Iedcf80af17747ac3330be5ea3f6f4c1e457afeca
Signed-off-by: Lukasz Krok <l.krok@samsung.com>
LOG_EWK_API_MOCKUP();
return NULL;
}
+
+Eina_Bool ewk_error_cancellation_get(const Ewk_Error* error)
+{
+ return EINA_FALSE;
+}
\ No newline at end of file
*/
EAPI const char* ewk_error_domain_get(const Ewk_Error* error);
+/**
+ * Query if error is caused by a cancellation.
+ *
+ * @param error error object to query.
+ *
+ * @return @c EINA_FALSE as in current implementation error cannot be
+ * caused by a cancellation. This API is for compatibility
+ * reasons.
+ */
+EAPI Eina_Bool ewk_error_cancellation_get(const Ewk_Error* error);
+
#ifdef __cplusplus
}
#endif