-
dgrogan@chromium.org authored
http://crbug.com/108071 https://bugs.webkit.org/show_bug.cgi?id=75596 Reviewed by Tony Chang. Test: storage/indexeddb/prefetch-bugfix-108071.html Note: DumpRenderTree doesn't exercise the bug, it only occurs in multi-process chromium. The layout test will soon be run as a chromium ui test: http://codereview.chromium.org/9108004 * storage/IDBCursorBackendImpl.cpp: (WebCore::IDBCursorBackendImpl::IDBCursorBackendImpl): (WebCore::IDBCursorBackendImpl::~IDBCursorBackendImpl): Destroy cursors before their objectstores. (WebCore::IDBCursorBackendImpl::prefetchReset): Don't run continue if the cursor is closed. (WebCore::IDBCursorBackendImpl::close): Set a closed flag. * storage/IDBCursorBackendImpl.h: LayoutTests: IndexedDB: fix cursor prefetch crash https://bugs.webkit.org/show_bug.cgi?id=75596 Reviewed by Tony Chang. * storage/indexeddb/prefetch-bugfix-108071-expected.txt: Added. * storage/indexeddb/prefetch-bugfix-108071.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
60073522