Created attachment 96576 [details] test case http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBObjectStore-deleteIndex-void-DOMString-indexName states "Note that this method must only be called from a VERSION_CHANGE transaction callback. ... NOT_ALLOWED_ERR [indicates] This method was not called from a VERSION_CHANGE transaction callback." This test opens a database, creates an objectstore, creates an index, waits for the VERSION_CHANGE transaction to end, and then attempts to delete the index. Expected behavior: throws webkitIDBDatabaseException.NOT_ALLOWED_ERR Actual behavior: throws webkitIDBDatabaseException.NOT_FOUND_ERR Test case attached.
This functions correctly now (circa M16), but we don't appear to have a layout test for this case. We should add Mark's test.
Created attachment 116404 [details] Patch
Created attachment 116437 [details] Patch
Comment on attachment 116437 [details] Patch removed stylesheet link
Looks good to me.
tony@ - r? cq?
Comment on attachment 116437 [details] Patch Clearing flags on attachment: 116437 Committed r102269: <http://trac.webkit.org/changeset/102269>
All reviewed patches have been landed. Closing bug.