This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
"upgradeneeded" event should set request.readyState to DONE, otherwise we will throw an exception getting request.result.
This is now fixed in the spec.
Ooops, wrong bug.
Making the change
4.8 VERSION_CHANGE transaction steps now states in step 9.3: Fire a upgradeneeded event targeted at request. The event must use the IDBVersionChangeEvent interface and have the oldVersion property set to old version and have the newVersion property set to version. The readyState on the request is set to DONE. Published in 1 November Editor's Draft. Thanks for catching this.