[Webkit-unassigned] [Bug 14811] [gtk] [request] add a webkit_gtk_page_go_to_history_item function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 24 01:23:55 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=14811





------- Comment #30 from christian at imendio.com  2008-01-24 01:23 PDT -------
(In reply to comment #29)
> In webkit_web_history_item_get_uri and webkit_web_history_item_get_title you
> are making copies of the strings to save into WebHistoryItemPrivate.  Is there
> a reason?

The reason is that by convention developers expect a constant string. And since
WebKit doesn't use plain character arrays internally it needs to act
accordingly. You can't rely on the .utf8() buffer's lifetime.


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



More information about the webkit-unassigned mailing list