WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
Patch
(2.10 KB, patch)
2021-07-06 11:32 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alex Christensen
Comment 1
2021-02-09 11:54:47 PST
Created
attachment 419748
[details]
Patch
Alex Christensen
Comment 2
2021-02-09 11:55:07 PST
Crash record at
https://ews-build.s3-us-west-2.amazonaws.com/macOS-Catalina-Release-WK2-Tests-EWS/r419742-829/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-within-sw.https-crash-log.txt
Radar WebKit Bug Importer
Comment 3
2021-02-16 11:54:16 PST
<
rdar://problem/74400704
>
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
r279597
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
Created
attachment 432953
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug