Bug 254427

Summary: transaction.commit inside onupgradeneeded deadlock
Product: WebKit Reporter: Nick Kusters <webkit>
Component: Website StorageAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Minor CC: ahmad.saleem792, marcosc, sihui_liu, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 165889    

Nick Kusters
Reported 2023-03-24 08:59:48 PDT
If you commit the transaction inside the onupgradeneeded event, none of the events (onerror, onabort, oncomplete) will fire and starting a new transaction later on will fail because IndexedDB thinks there is still a version upgrade transaction active (error message: "A version change transaction is running.").
Attachments
Radar WebKit Bug Importer
Comment 1 2023-03-31 09:00:15 PDT
Note You need to log in before you can comment on or make changes to this bug.