Bug 231960

Summary: Drop assertion in RegistrationDatabase::importRecords()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Service WorkersAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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>