IndexedDB does not update r/w index cursors that are mutated during iteration
authorjsbell@chromium.org <jsbell@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 28 Jan 2012 00:04:52 +0000 (00:04 +0000)
committerjsbell@chromium.org <jsbell@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 28 Jan 2012 00:04:52 +0000 (00:04 +0000)
commit43e4b6eaa8fb0e753ce9ac62db7bc30df2aaab0e
tree1c3f0a642d930209c9b6481937f5dec7f9cf1f55
parente3455a6b0157056bb555e46a2f01bf17ac1cf628
IndexedDB does not update r/w index cursors that are mutated during iteration
https://bugs.webkit.org/show_bug.cgi?id=59822

Added tests to verify that index cursors see updates made to an object store while
iterating, assuming the cursor and updates occur within the same transaction.

Reviewed by Tony Chang.

* storage/indexeddb/mozilla/cursor-mutation-expected.txt: Added.
* storage/indexeddb/mozilla/cursor-mutation.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/storage/indexeddb/mozilla/cursor-mutation-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/mozilla/cursor-mutation.html [new file with mode: 0644]