[Webkit-unassigned] [Bug 117625] [EFL][WK2] Fix crash issue on ewk_context_favicon_database_directory_set()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 13 23:52:08 PDT 2013


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





--- Comment #7 from Changhyup Jwa <ch.jwa at samsung.com>  2013-06-13 23:50:43 PST ---
(In reply to comment #6)
> (From update of attachment 204674 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=204674&action=review
> 
> >>>> Source/WebKit2/UIProcess/API/C/WKContext.cpp:287
> >>>> +bool WKContextSetIconDatabasePath(WKContextRef contextRef, WKStringRef iconDatabasePath)
> >>> 
> >>> You should avoid changing C API if possible. Most C API setters don't return bool so this seems a bit inconsistent.
> >> 
> >> Oh, attached another patch at the same time.
> >> 
> >> I'll check what you commented. Thanks
> > 
> > Without changing C API(returning value), can I add WK C APIs to enable and check IconDatabase's enabled flag? Because isOpen() returns false before IconDatabase's sync thread opens DB.
> 
> I think this patch also deals with common area in WK2. So, you should get a review by WK2 owner. IMHO, you're able to split this patch into common WK2 and EFL WK2.
> 

Ok, I'll split this patch as you commented.

> > Source/WebKit2/UIProcess/API/C/WKContextPrivate.h:57
> > +WK_EXPORT bool WKContextSetIconDatabasePath(WKContextRef context, WKStringRef iconDatabasePath);
> 
> It looks you need to consider all ports which are using this APIs.

Yes, it's type changing from void to bool. So I think there's no regression.

Thanks for your comment.

-- 
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