Bug 231960 - Drop assertion in RegistrationDatabase::importRecords()
Summary: Drop assertion in RegistrationDatabase::importRecords()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Service Workers (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-19 09:23 PDT by Chris Dumez
Modified: 2021-10-19 09:31 PDT (History)
2 users (show)

See Also:


Attachments
Patch (1.72 KB, patch)
2021-10-19 09:24 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2021-10-19 09:23:52 PDT
Drop assertion in RegistrationDatabase::importRecords(). This can happen when deleting service worker scripts on disk but not clearing the service worker database.
The code properly deal with this so there is no need to crash in debug builds.
Comment 1 Chris Dumez 2021-10-19 09:24:53 PDT
Created attachment 441739 [details]
Patch
Comment 2 Chris Dumez 2021-10-19 09:30:23 PDT
Comment on attachment 441739 [details]
Patch

Clearing flags on attachment: 441739

Committed r284459 (243219@main): <https://commits.webkit.org/243219@main>
Comment 3 Chris Dumez 2021-10-19 09:30:26 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2021-10-19 09:31:19 PDT
<rdar://problem/84418301>