Bug 158532

Summary: Modern IDB: After a JS breakpoint is hit during an active transaction, the transaction is erroneously flagged as inactive
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: msaboff
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 149117    
Bug Blocks: 165889    

Brady Eidson
Reported 2016-06-08 11:40:02 PDT
Modern IDB: After a JS breakpoint is hit during an active transaction, the transaction is erroneously flagged as inactive
Attachments
Brady Eidson
Comment 1 2016-06-08 11:44:16 PDT
This is because transactions try to monitor VM scope to deactivate when the VM returns (e.g. event handling, etc etc) In IDBTransaction::IDBTransaction: vm.whenIdle([self, this]() { deactivate(); }); That assumption breaks down during JS debugging.
Brady Eidson
Comment 2 2016-06-08 11:45:29 PDT
whenIdle() may not do what we want, but we'll need to find a different way.
Note You need to log in before you can comment on or make changes to this bug.