Bug 225774

Summary: Process suspension may be delayed by up to 5 seconds after there is no longer any database activity
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: ggaren, kkinnunen, sihui_liu, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Chris Dumez 2021-05-13 11:35:43 PDT
Process suspension may be delayed by up to 5 seconds after there is no longer any database activity.
Comment 1 Chris Dumez 2021-05-13 11:37:50 PDT
Created attachment 428540 [details]
Patch
Comment 2 Geoffrey Garen 2021-05-13 11:57:43 PDT
Comment on attachment 428540 [details]
Patch

r=me

...but isn't WebSQL disabled in Safari?
Comment 3 Chris Dumez 2021-05-13 12:04:32 PDT
(In reply to Geoffrey Garen from comment #2)
> Comment on attachment 428540 [details]
> Patch
> 
> r=me
> 
> ...but isn't WebSQL disabled in Safari?

Has nothing to do with WebSQL. This is a SQLiteDatabaseTracker at the WebKit layer so we use the "Web" prefix for the class. SQLiteDatabases are used by many things besides WebSQL.
Comment 4 EWS 2021-05-13 12:45:11 PDT
Committed r277447 (237695@main): <https://commits.webkit.org/237695@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 428540 [details].
Comment 5 Radar WebKit Bug Importer 2021-05-13 12:46:24 PDT
<rdar://problem/77981955>