[Webkit-unassigned] [Bug 118759] [EFL] Calling ewk_settings_application_cache_path_set() more than once should have no effect.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 17 20:49:06 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=118759





--- Comment #20 from Ryuan Choi <ryuan.choi at samsung.com>  2013-07-17 20:49:02 PST ---
(In reply to comment #19)
> (In reply to comment #17)
> > (From update of attachment 206870 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=206870&action=review
> > 
> > >>>>>> Source/WebKit/efl/tests/test_ewk_setting.cpp:123
> > >>>>>>      ewk_settings_application_cache_path_set("~/data/webkitApp");
> > >>>>> 
> > >>>>> the returned value should be tested, right?
> > >>>> 
> > >>>> s/tested/checked
> > >>> 
> > >>> This is the first time we call it and the path does not change? Why? Who calls it first?
> > >> 
> > >> Done
> > > 
> > > It is initialized in ewk_init() which is defined in ewk_main.cpp and is called from SetUp method of EWKTestEnvironment.
> > 
> > Well then, why is there such API at all if it will NEVER work?
> 
> There are 2 solutions:
> 1. Stop setting the app cache path in ewk main and let the app set the path:
> Pros: The app can use another path than the default one
> Cons: This is a behavior change and app cache will be disabled unless applications are updated to set the app cache path.
> 
> 2. Remove this public API function
> Pros: No behavior change.
> Cons: The app cannot change the app cache path
> 
> I would go for 1 because this is WebKit1 and it is in maintenance mode. However, gyuyoung / ryuan may have a different opinion. I'll let them decide :)

If I remember correctly, Tizen used it long time ago but we don't use this now.

I don't have strong opinion about it, but second option is also available because we didn't have public release.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list