[webkit-reviews] review requested: [Bug 25831] [GTK] events missing when a document is (re)loaded : [Attachment 74920] AtkDocument events implementation + New unit test

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 26 04:31:32 PST 2010


Mario Sanchez Prada <msanchez at igalia.com> has asked  for review:
Bug 25831: [GTK] events missing when a document is (re)loaded
https://bugs.webkit.org/show_bug.cgi?id=25831

Attachment 74920: AtkDocument events implementation + New unit test
https://bugs.webkit.org/attachment.cgi?id=74920&action=review

------- Additional Comments from Mario Sanchez Prada <msanchez at igalia.com>
(In reply to comment #14)
> 
> My point is, either you know the test just has to finish, probably very fast,
or not.
> If you don't, then there's something wrong and we should fix it, or make the
test
> ASSERT in case it hits the problem. Otherwise we should be adding 10s
timeouts
> everywhere just in case some test hangs... (FWIW the layout tests have this I

> believe, but it's done generally and not in each test separately).

After the discussion about this in the IRC, I just rewrote the unit test code
in testatk.c not to use a new main loop nor a call to g_add_timeout(), using
the g_test_trap_* API instead, where I set a 2secs timeout as guard for the
unlikely case where the unit test would fail.

Attaching a new patch then


More information about the webkit-reviews mailing list