Bug 153790 - Modern IDB: storage/indexeddb/dont-wedge.html sometimes ASSERTs
Summary: Modern IDB: storage/indexeddb/dont-wedge.html sometimes ASSERTs
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: Safari 9
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords:
Depends on:
Blocks: 149117 153021
  Show dependency treegraph
 
Reported: 2016-02-02 10:07 PST by Brady Eidson
Modified: 2016-02-02 11:31 PST (History)
4 users (show)

See Also:


Attachments
Patch v1 (3.76 KB, patch)
2016-02-02 10:10 PST, Brady Eidson
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Eidson 2016-02-02 10:07:02 PST
Modern IDB: storage/indexeddb/dont-wedge.html sometimes ASSERTs

This test uncovers an unhandled race between the main thread trying to get an open operation handled and the server thread actually performing the open.

There was already a flag meant to cover this race, and it just needs to be applied to one more site.
Comment 1 Brady Eidson 2016-02-02 10:10:05 PST
Created attachment 270494 [details]
Patch v1
Comment 2 Brady Eidson 2016-02-02 11:31:41 PST
http://trac.webkit.org/changeset/196021