Commit 018621b6 authored by mrobinson@webkit.org's avatar mrobinson@webkit.org

2011-05-12 Martin Robinson <mrobinson@igalia.com>

        Attempt to fix the GTK+ unit test testwebview on the 32-bit Release
        bot which appears to be more sensitive to timing issues than the
        other bots.

        * tests/testwebview.c: Add another short pause waiting for adjustments to update.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 67a06f94
2011-05-12 Martin Robinson <mrobinson@igalia.com>
Attempt to fix the GTK+ unit test testwebview on the 32-bit Release
bot which appears to be more sensitive to timing issues than the
other bots.
* tests/testwebview.c: Add another short pause waiting for adjustments to update.
2011-05-09 Martin Robinson <mrobinson@igalia.com>
Fix a test after r86102. Scrollbars update asynchronously, so we
......
......@@ -242,6 +242,10 @@ static void do_test_webkit_web_view_adjustments(gboolean with_page_cache)
webkit_web_view_load_uri(view, effective_uri);
g_main_loop_run(loop);
/* Adjustments update asynchronously, so we must wait a bit. */
g_timeout_add(100, quit_after_short_delay_cb, loop);
g_main_loop_run(loop);
adjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(scrolled_window));
g_assert_cmpfloat(gtk_adjustment_get_value(adjustment), ==, 0.0);
......
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