WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
158532
Modern IDB: After a JS breakpoint is hit during an active transaction, the transaction is erroneously flagged as inactive
https://bugs.webkit.org/show_bug.cgi?id=158532
Summary
Modern IDB: After a JS breakpoint is hit during an active transaction, the tr...
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug