Commit 5e1fdeec authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

[GTK] Programs/WebKit2APITests/TestCookieManager fails

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

Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2012-10-02
Reviewed by Martin Robinson.

The problem is that the soup server has a g_assert_not_reached()
for unknown paths, but know /favicon.icon might be requested.

* UIProcess/API/gtk/tests/TestCookieManager.cpp:
(serverCallback): Ignore unknown paths.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130196 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 21ce5c1e
2012-10-02 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK] Programs/WebKit2APITests/TestCookieManager fails
https://bugs.webkit.org/show_bug.cgi?id=98176
Reviewed by Martin Robinson.
The problem is that the soup server has a g_assert_not_reached()
for unknown paths, but know /favicon.icon might be requested.
* UIProcess/API/gtk/tests/TestCookieManager.cpp:
(serverCallback): Ignore unknown paths.
2012-10-02 Hugo Parente Lima <hugo.lima@openbossa.org>
 
[WK2] PageViewportControllerClient.h uses WebCore class without declaring them
......
......@@ -294,8 +294,6 @@ static void serverCallback(SoupServer* server, SoupMessage* message, const char*
soup_message_body_append(message->response_body, SOUP_MEMORY_TAKE, indexHtml, strlen(indexHtml));
} else if (g_str_equal(path, "/image.png"))
soup_message_headers_replace(message->response_headers, "Set-Cookie", "baz=qux; Max-Age=60");
else
g_assert_not_reached();
soup_message_body_complete(message->response_body);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment