Bug 103344 - IndexedDB: Make test resilient to different event ordering
Summary: IndexedDB: Make test resilient to different event ordering
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Grogan
Depends on:
Reported: 2012-11-26 18:43 PST by David Grogan
Modified: 2012-11-27 09:46 PST (History)
4 users (show)

See Also:

Patch (2.66 KB, patch)
2012-11-26 18:45 PST, David Grogan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Grogan 2012-11-26 18:43:44 PST
IndexedDB: Make test resilient to different event ordering
Comment 1 David Grogan 2012-11-26 18:45:38 PST
Created attachment 176144 [details]
Comment 2 David Grogan 2012-11-26 18:51:55 PST
Josh, could you take a look at this?

Apparently in chrome this sequence can happen:

Browser process fires versionchange event at main thread
Browser process fires blocked event at worker thread
Worker thread receives blocked, sends message to main thread
Main thread receives message from worker
Main thread receives versionchange event
Comment 3 Joshua Bell 2012-11-26 18:55:21 PST
Comment 4 David Grogan 2012-11-26 18:56:51 PST
Tony, could you review this?
Comment 5 WebKit Review Bot 2012-11-27 09:46:12 PST
Comment on attachment 176144 [details]

Clearing flags on attachment: 176144

Committed r135868: <http://trac.webkit.org/changeset/135868>
Comment 6 WebKit Review Bot 2012-11-27 09:46:15 PST
All reviewed patches have been landed.  Closing bug.