Commit 017dd4a8 authored by kov@webkit.org's avatar kov@webkit.org

2009-06-12 Gustavo Noronha Silva <gns@gnome.org>

        Reviewed by Jan Alonzo.

        https://bugs.webkit.org/show_bug.cgi?id=25599
        [GTK] Enable more tests

        Implement dumping of status callback.

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (webViewStatusBarTextChanged):
        (main):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 6b9aef2c
2009-06-12 Gustavo Noronha Silva <gns@gnome.org>
Reviewed by Jan Alonzo.
Enable test that uses the now implemented dumpStatusCallbacks()
call.
* platform/gtk/Skipped:
2009-06-11 Ryosuke Niwa <rniwa@google.com>
Reviewed by Eric Seidel.
......@@ -1594,7 +1594,6 @@ fast/css/text-align.html
fast/css/zoom-body-scroll.html
fast/css/getComputedStyle/computed-style-without-renderer.html
fast/css/getComputedStyle/computed-style.html
fast/dom/assign-to-window-status.html
fast/dom/client-width-height-quirks.html
fast/dom/client-width-height.html
fast/dom/cssTarget-crash.html
......
2009-06-12 Gustavo Noronha Silva <gns@gnome.org>
Reviewed by Jan Alonzo.
https://bugs.webkit.org/show_bug.cgi?id=25599
[GTK] Enable more tests
Implement dumping of status callback.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(webViewStatusBarTextChanged):
(main):
2009-06-11 John Abd-El-Malek <jam@chromium.org>
Reviewed by Steve Falkenburg.
......
......@@ -518,6 +518,16 @@ static bool webViewNavigationPolicyDecisionRequested(WebKitWebView* view, WebKit
return TRUE;
}
static void webViewStatusBarTextChanged(WebKitWebView* view, const gchar* message, gpointer data)
{
// Are we doing anything wrong? One test that does not call
// dumpStatusCallbacks gets true here
if (gLayoutTestController->dumpStatusCallbacks()) {
if (message && strcmp(message, ""))
printf("UI DELEGATE STATUS CALLBACK: setStatusText:%s\n", message);
}
}
int main(int argc, char* argv[])
{
g_thread_init(NULL);
......@@ -560,6 +570,7 @@ int main(int argc, char* argv[])
g_signal_connect(G_OBJECT(webView), "script-confirm", G_CALLBACK(webViewScriptConfirm), 0);
g_signal_connect(G_OBJECT(webView), "title-changed", G_CALLBACK(webViewTitleChanged), 0);
g_signal_connect(G_OBJECT(webView), "navigation-policy-decision-requested", G_CALLBACK(webViewNavigationPolicyDecisionRequested), 0);
g_signal_connect(G_OBJECT(webView), "status-bar-text-changed", G_CALLBACK(webViewStatusBarTextChanged), 0);
setDefaultsToConsistentStateValuesForTesting();
......
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