{"issue":{"state":"open","created_at":"2011-12-07T20:58:35Z","updated_at":"2011-12-07T20:58:35Z","user":{"gravatar_id":"fcca405d06a2d277d78f9b079a9601f2","id":880829,"url":"https://api.github.com/users/gnatters","login":"gnatters","avatar_url":"https://secure.gravatar.com/avatar/fcca405d06a2d277d78f9b079a9601f2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"body":"I'm not sure exactly what causes setVersion request to be blocked but as far as I can tell something in the Jax environment must be causing it. I've also asked about it here http://stackoverflow.com/questions/8417469/indexeddb-setversion-request-being-blocked\r\n\r\nThe following code from within `after_initialize` results in the onblocked event firing (and the request failing to complete thus making it impossible to initialise an object store).\r\n\r\n\r\nif @indexedDB and @objectStore and @key\r\n  idb_request = indexedDB.open @indexedDB\r\n  idb_request.onsuccess = (e) =>\r\n    idb = e.target.result\r\n    idb.onerror = (e) -> console.log e\r\n\r\n    version_request = idb.setVersion(0.1)\r\n    version_request.onblocked = (e) -> console.log e\r\n","assignee":null,"id":2479968,"number":37,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"IndexedDB setVersion requests being blocked","html_url":"https://github.com/sinisterchipmunk/jax/issues/37","closed_at":null,"url":"https://api.github.com/repos/sinisterchipmunk/jax/issues/37","milestone":null},"action":"opened"}