Bug 142716

Summary: Make DatabaseContext suspendable if there is no pending database activity
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, beidson, bfulgham, commit-queue, kling, sam
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2015-03-15 17:49:08 PDT
Make DatabaseContext suspendable if there is no pending database activity, i.e. - Pending Database creation JS callback - Pending transaction(s) Suspending is safe in this case because we are not going to interrupt any database activity, nor fire any JS event. This will greatly increase the likelihood of pages using websql to enter the PageCache. Radar: <rdar://problem/19923085>
Attachments
Patch (15.85 KB, patch)
2015-03-15 17:54 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-03-15 17:54:21 PDT
Andreas Kling
Comment 2 2015-03-16 12:34:40 PDT
Comment on attachment 248694 [details] Patch r=me
WebKit Commit Bot
Comment 3 2015-03-16 13:21:01 PDT
Comment on attachment 248694 [details] Patch Clearing flags on attachment: 248694 Committed r181577: <http://trac.webkit.org/changeset/181577>
WebKit Commit Bot
Comment 4 2015-03-16 13:21:07 PDT
All reviewed patches have been landed. Closing bug.
Brent Fulgham
Comment 5 2015-03-17 10:52:07 PDT
This broke Windows tests because Windows does not support this feature. Added Skip declarations in r181652 <https://trac.webkit.org/changeset/181652>
Note You need to log in before you can comment on or make changes to this bug.