Bug 254427
| Summary: | transaction.commit inside onupgradeneeded deadlock | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Nick Kusters <webkit> |
| Component: | Website Storage | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/107474101>