[Webkit-unassigned] [Bug 186180] New: IDBTransaction randomly hangs for concurrent operations
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 31 19:38:27 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=186180
Bug ID: 186180
Summary: IDBTransaction randomly hangs for concurrent
operations
Product: WebKit
Version: Safari 11
Hardware: Macintosh
OS: macOS 10.13
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ian.weng at icloud.com
The bug was found while using localForage: https://github.com/localForage/localForage
Initially I thought it was a localForage bug, but after play around, I believe it should belong to WebKit.
Basically none of IDBTransaction onabort/onerror/oncomplete are fired.
https://github.com/localForage/localForage/issues/824
My testing code can reproduce the bug (it passes in FF and Chrome)
https://github.com/localForage/localForage/pull/825
Doing this (referencing transaction in a global object) makes my testing code pass but I don't understand and guess the transaction could be garbage collected too early (before oncomplete being dispatched to event loop)
Let me know if you want some code getting rid of localForage (purely indexeddb), I am happy to do that but not sure whether it is needed at current stage.
Environments:
mac OS 10.13.4 (17E202), also tried r232383 High Sierra on it
iOS 11.3.1 (15E302)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180601/604f6267/attachment.html>
More information about the webkit-unassigned
mailing list