Changeset 93311 in webkit
- Timestamp:
- Aug 18, 2011 8:51:27 AM (13 years ago)
- Location:
- trunk/Source/WebKit/gtk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/gtk/ChangeLog
r93303 r93311 1 2011-08-18 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> 2 3 [GTK] Change webview API tests to use "load-status" signal instead of "load-progress" 4 https://bugs.webkit.org/show_bug.cgi?id=66243 5 6 Reviewed by Martin Robinson. 7 8 The idle_quit_loop_cb() already checks the "load-status" flag, so it is enough to 9 call it only when the "load-status" change. 10 11 This change is important in the context of bug 28851, which aims to change the 12 order in which "progress finished" and "load finished" callbacks are called. In 13 this new scenario, at the progress callback the load will never be finished. 14 15 * tests/testwebview.c: 16 (test_webkit_web_view_grab_focus): 17 1 18 2011-08-17 Adam Roben <aroben@apple.com> 2 19 -
trunk/Source/WebKit/gtk/tests/testwebview.c
r90627 r93311 168 168 loop = g_main_loop_new(NULL, TRUE); 169 169 170 g_signal_connect(view, "notify:: progress", G_CALLBACK(idle_quit_loop_cb), NULL);170 g_signal_connect(view, "notify::load-status", G_CALLBACK(idle_quit_loop_cb), NULL); 171 171 172 172 /* Wait for window to show up */ … … 236 236 237 237 g_object_connect(G_OBJECT(view), 238 "signal::notify:: progress", idle_quit_loop_cb, NULL,238 "signal::notify::load-status", idle_quit_loop_cb, NULL, 239 239 NULL); 240 240
Note: See TracChangeset
for help on using the changeset viewer.