[Webkit-unassigned] [Bug 55455] [EFL] HTML saving feature

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 28 15:22:32 PDT 2011


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





--- Comment #10 from Lucas De Marchi <demarchi at webkit.org>  2011-04-28 15:22:32 PST ---
(In reply to comment #9)
> Lucas, as for the new API it will look for me strange when somebody will do this
> 
> char *frame_source = 1; // must be not NULL
wrong

> ewk_frame_source_get(..,&frame_source.., )
right

Inside the function you will check for frame_source being NULL, not *frame_source. Note that it's a pointer to pointer.


> 
> when wants to have frame_source allocated.
> The same with resources_list.
> 
> Moreover, as you can see in current patch getting list of resources and getting source of page are independent things.
> 
> That's why I think we should have two separate APIs:
> Eina_Bool ewk_frame_source_get(Evas_Object* o, char** frame_source)
> Eina_Bool ewk_frame_resource_location_list_get(Evas_Object* o, char*** resources_location_list, unsigned* list_size)

These are ok too. What I don't want is the "_to_file" part, i.e. forcing it to be written to a file somewhere.

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