Original test: http://mxr.mozilla.org/mozilla2.0/source/dom/indexedDB/test/test_setVersion_abort.html?force=1 At the end of the test, the transaction is aborted and the object store should be removed (db.objectStoreNames.length should be 0). Mozilla correctly handles this, but WebKit still claims that objectStoreNames.length=1 and that objectStoreNames.item(0) is the name of the object store created during the now-aborted transaction.
Created attachment 89775 [details] test case
Created attachment 116433 [details] Patch
This is already functional, but we didn't have a specific test. Adding the mozilla test c/o pilgrim@
Comment on attachment 116433 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=116433&action=review > LayoutTests/storage/indexeddb/mozilla/versionchange-abort.html:10 > +<link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css"> We're not supposed to include this stylesheet anymore.
Created attachment 116435 [details] Patch
Comment on attachment 116435 [details] Patch removed stylesheet link
tony@ - r? cq?
Comment on attachment 116435 [details] Patch Clearing flags on attachment: 116435 Committed r102260: <http://trac.webkit.org/changeset/102260>
All reviewed patches have been landed. Closing bug.