Bug 173879

Summary: [iOS] Avoid taking / releasing process assertions too quickly due to database activity
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, commit-queue, ggaren, kling, koivisto, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Chris Dumez 2017-06-27 09:47:21 PDT
Avoid taking / releasing process assertions too quickly due to database activity.
Comment 1 Chris Dumez 2017-06-27 09:47:35 PDT
<rdar://problem/32412701>
Comment 2 Chris Dumez 2017-06-27 09:50:11 PDT
Created attachment 313922 [details]
Patch
Comment 3 Antti Koivisto 2017-06-27 14:15:25 PDT
Comment on attachment 313922 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=313922&action=review

r=me

> Source/WebCore/platform/ios/WebSQLiteDatabaseTrackerClient.mm:44
> +const double hysteresisDuration = 2; // 2 seconds.

This should switch to Seconds at some point.
Comment 4 WebKit Commit Bot 2017-06-27 14:49:08 PDT
Comment on attachment 313922 [details]
Patch

Clearing flags on attachment: 313922

Committed r218846: <http://trac.webkit.org/changeset/218846>
Comment 5 WebKit Commit Bot 2017-06-27 14:49:09 PDT
All reviewed patches have been landed.  Closing bug.