[Webkit-unassigned] [Bug 84446] [GTK] Build and run TestWebKitAPI WebKit2 unit tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 24 10:22:22 PDT 2012


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





--- Comment #9 from Carlos Garcia Campos <cgarcia at igalia.com>  2012-04-24 10:22:19 PST ---
(In reply to comment #8)
> (In reply to comment #6)
> 
> > > > Tools/TestWebKitAPI/gtk/PlatformWebViewGtk.cpp:76
> > > > +    gtk_main_do_event(event.get());
> > > > +    event->key.type = GDK_KEY_RELEASE;
> > > > +    gtk_main_do_event(event.get());
> > > 
> > > Is it okay for this to happen asynchronously or do the tests expect that it be finished by the time the method returns?
> > 
> > I'm not sure, why?
> 
> Assuming that gtk_main_do_event works asynchronously (I believe it does, but perhaps I'm misremembering), there is a chance that the event may still be on the event queue. If the code that calls this method expects WebKit to have already processed the event, the test will likely fail.

Ah, don't worry then, gtk_main_do_event processes the given event synchronously,

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list