[M120 Migration]URL of _Ewk_Error set wrong
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / browser / navigation_throttle_efl.cc
index c571c81..a6da944 100644 (file)
@@ -72,7 +72,7 @@ NavigationThrottleEfl::WillFailRequest() {
     // from app side.
     if (web_view->IsLoadErrorPageCallbackSet()) {
       const char* error_page = web_view->InvokeViewLoadErrorPageCallback(
-          handle->GetURL(), error_code, "ERR_ABORTED");
+          handle->GetURL(), error_code, error_code == net::ERR_ABORTED);
       if (error_page) {
         LOG(ERROR) << "Already get customer error page";
         // Currently return result with action NavigationThrottle::CANCEL, error