Rely on SQLiteDatabase::setMaximumSize() for quota management in LocalStorageDatabase. It simplifies the code a bit.
Created attachment 430907 [details]
Comment on attachment 430907 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=430907&action=review
looks good as far as I understand the part (which is not terribly much)
> + if (result == SQLITE_FULL)
(Not specific to this patch, but I'd imagine this can happen in other operations too, such as the removeItem above.)
Committed r278651 (238633@main): <https://commits.webkit.org/238633@main>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 430907 [details].
*** Bug 226814 has been marked as a duplicate of this bug. ***