[Webkit-unassigned] [Bug 51110] IDBCursor::delete is not implemented.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 16 03:57:43 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=51110
Jeremy Orlow <jorlow at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #76651|review? |review-
Flag| |
--- Comment #2 from Jeremy Orlow <jorlow at chromium.org> 2010-12-16 03:57:43 PST ---
(From update of attachment 76651)
View in context: https://bugs.webkit.org/attachment.cgi?id=76651&action=review
Overall, looks great.
> LayoutTests/storage/indexeddb/cursor-delete.html:1
> +<html>
Whats this?
> LayoutTests/storage/indexeddb/cursor-delete.html:48
> + commitAndContinue();
Don't do this. I've been removing it as fast as I can, but apparnetly it's not fast enough. This is not a valid way of doing this. Set oncomplete
> LayoutTests/storage/indexeddb/cursor-delete.html:163
> + deleteResult.onsuccess = iterateCursor;
You could even just call continue here since it's supposed to run after the delete happens.
> WebCore/storage/IDBCursorBackendImpl.cpp:170
> + // if (m_transaction->mode() == IDBTransaction::READ_ONLY) {
We should be able to re-enable now.
> WebCore/storage/IDBIndexBackendImpl.cpp:107
> + RefPtr<IDBCursorBackendInterface> cursor = IDBCursorBackendImpl::create(index->m_database.get(), range, direction, query.release(), objectCursor, transaction.get(), 0);
You don't test this case. And if you did, you'd see a crash I'm pretty sure. I'm not sure how we can supply this without making cycles though. :-/
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list