[Webkit-unassigned] [Bug 110792] New: IndexedDB: IDBObjectStore.index() doesn't report errors after deleteIndex()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 25 13:48:12 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=110792
Summary: IndexedDB: IDBObjectStore.index() doesn't report
errors after deleteIndex()
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jsbell at chromium.org
First reported at: https://code.google.com/p/chromium/issues/detail?id=177963
Basic repro:
1. Create a database with an object store and an index. Close the connection.
2. Open another connection with a higher version. During upgradeneed handling...
3. Use store.deleteIndex('indexname') to delete the index
4. Use store.index('indexname') to try and access it.
Expected: The last step should fire a DOMException of type "NotFoundError".
Actual: An IDBIndex is returned
Critical to the repro is that from step 2 through step 3, store.index('indexname') is not called (e.g. to assert that the index is present before the delete). Otherwise, the exception is thrown as expected.
--
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