WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
19819
WebKit history API crashing.
https://bugs.webkit.org/show_bug.cgi?id=19819
Summary
WebKit history API crashing.
Xan Lopez
Reported
2008-06-29 13:23:52 PDT
Just found it, but it seems to not be working at all. At the very least we should commit this: diff --git a/WebKit/gtk/webkit/webkitwebhistoryitem.cpp b/WebKit/gtk/webkit/webkitwebhistoryitem.cpp index f1734d3..b98f467 100644 --- a/WebKit/gtk/webkit/webkitwebhistoryitem.cpp +++ b/WebKit/gtk/webkit/webkitwebhistoryitem.cpp @@ -363,6 +363,7 @@ const gchar* webkit_web_history_item_get_alternate_title(WebKitWebHistoryItem* w void webkit_web_history_item_set_alternate_title(WebKitWebHistoryItem* webHistoryItem, const gchar* ti { g_return_if_fail(WEBKIT_IS_WEB_HISTORY_ITEM(webHistoryItem)); + g_return_if_fail(title != NULL); WebCore::HistoryItem* item = core(webHistoryItem); to avoid the crasher (and also a good thing to have in general).
Attachments
Add attachment
proposed patch, testcase, etc.
Martin Robinson
Comment 1
2015-05-07 16:33:22 PDT
WebKit1 is long gone.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug