Bug 85696

Summary: [WK2] Incoming events may be processed out-of-order
Product: WebKit Reporter: Jon Lee <jonlee>
Component: WebKit2Assignee: Jon Lee <jonlee>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, mjs, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.7   
Attachments:
Description Flags
Patch mjs: review+

Description Jon Lee 2012-05-04 20:31:42 PDT
Messages that arrive to the web process after an input event might be processed before the input event because all messages go to a single queue that gets iterated over by handleMessages(). What then happens is that one handleMessages() call processes all of the messages, and the subsequent handleMessages() handle none. It effectively promotes messages ahead of input events.

<rdar://problem/11386129>
Comment 1 Jon Lee 2012-05-04 21:09:10 PDT
Created attachment 140380 [details]
Patch
Comment 2 Maciej Stachowiak 2012-05-05 12:32:08 PDT
Comment on attachment 140380 [details]
Patch

r=me
Comment 3 Jon Lee 2012-05-05 12:37:55 PDT
Committed r116226: <http://trac.webkit.org/changeset/116226>