2011-02-09 Hans Wennborg <hans@chromium.org>
authorhans@chromium.org <hans@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Feb 2011 10:33:31 +0000 (10:33 +0000)
committerhans@chromium.org <hans@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Feb 2011 10:33:31 +0000 (10:33 +0000)
commitefb2ded8ebf4a5dd48adadc64cb3f1b75fc0e7b3
treea5c280681b1f8ccd4a0836ec07eef9f0fc268b82
parent06d0bd3989e36518c812a0efc5bc0a5d5d7c8a02
2011-02-09  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: Cursors should skip deleted entries
        https://bugs.webkit.org/show_bug.cgi?id=53690

        Cursors should skip over entries that have been deleted
        since the cursor was opened.

        * storage/indexeddb/cursor-skip-deleted-expected.txt: Added.
        * storage/indexeddb/cursor-skip-deleted.html: Added.
2011-02-09  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: Cursors should skip deleted entries
        https://bugs.webkit.org/show_bug.cgi?id=53690

        Add test to check that the cursor skips deleted entries.

        Test: storage/indexeddb/cursor-skip-deleted.html

        * storage/IDBCursorBackendImpl.cpp:
        (WebCore::IDBCursorBackendImpl::currentRowExists):
        (WebCore::IDBCursorBackendImpl::continueFunctionInternal):
        * storage/IDBCursorBackendImpl.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/storage/indexeddb/cursor-skip-deleted-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/cursor-skip-deleted.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/storage/IDBCursorBackendImpl.cpp
Source/WebCore/storage/IDBCursorBackendImpl.h