If applicationCachePermissionCallback does not define or set, ewkViewRequestApplicati...
authorJiyeon Kim <jiyeon0402.kim@samsung.com>
Mon, 1 Apr 2013 00:07:01 +0000 (09:07 +0900)
committerJiyeon Kim <jiyeon0402.kim@samsung.com>
Mon, 1 Apr 2013 00:13:35 +0000 (09:13 +0900)
[Title] If applicationCachePermissionCallback does not define or set, ewkViewRequestApplicationCachePermission method returns true
[Problem] If ewkViewRequestApplicationCachePermission method returns false, application cache doesn't work
[Cause] N/A
[Solution] I'll change returning value true to false after implementing permission popup on browser side

Change-Id: I447cf7e2df0dfbf53f2c8ccf3e5cdaf9c6c76f4d

Source/WebKit2/UIProcess/API/efl/ewk_view.cpp

index 748d75c..6c30cbe 100755 (executable)
@@ -5862,7 +5862,7 @@ Eina_Bool ewkViewRequestApplicationCachePermission(Evas_Object* ewkView, WKSecur
     EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
 
     if (!priv->applicationCachePermissionContext || !priv->applicationCachePermissionContext->applicationCachePermissionCallback)
-        return false;
+        return true;
 
     priv->isWaitingForApplicationCachePermission = true;
     if (priv->applicationCachePermissionOrigin)