RESOLVED FIXED 221620
Make Caches::writeRecord and Caches::readRecord more robust
https://bugs.webkit.org/show_bug.cgi?id=221620
Summary Make Caches::writeRecord and Caches::readRecord more robust
Alex Christensen
Reported 2021-02-09 11:53:57 PST
Make Caches::writeRecord and Caches::readRecord more robust
Attachments
Patch (2.28 KB, patch)
2021-02-09 11:54 PST, Alex Christensen
no flags
Patch (2.10 KB, patch)
2021-07-06 11:32 PDT, Alex Christensen
no flags
Alex Christensen
Comment 1 2021-02-09 11:54:47 PST
Radar WebKit Bug Importer
Comment 3 2021-02-16 11:54:16 PST
youenn fablet
Comment 4 2021-07-06 02:08:04 PDT
Comment on attachment 419748 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=419748&action=review > Source/WebKit/ChangeLog:9 > + Some events happen during teardown. No reason to crash. This seems ok to add a null check. The underlying issue is probably that: - we request space, which is an asynchronous operation as we may prompt user - somehow we are requested to clear the caches - user grants request space and we are back with no available storage. I think this can be fixed by bailing out early in Caches::requestSpace callback in case m_isInitialized is false.
Alex Christensen
Comment 5 2021-07-06 10:41:04 PDT
Alex Christensen
Comment 6 2021-07-06 11:30:46 PDT
Reverted in r279599
Alex Christensen
Comment 7 2021-07-06 11:32:21 PDT
Reopening to attach new patch.
Alex Christensen
Comment 8 2021-07-06 11:32:23 PDT
EWS
Comment 9 2021-07-06 12:34:15 PDT
Committed r279607 (239430@main): <https://commits.webkit.org/239430@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 432953 [details].
Note You need to log in before you can comment on or make changes to this bug.