Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

callback not called in indexeddb_store.js #19

Open
terrycojones opened this issue Mar 14, 2013 · 0 comments
Open

callback not called in indexeddb_store.js #19

terrycojones opened this issue Mar 14, 2013 · 0 comments

Comments

@terrycojones
Copy link
Contributor

From line 389 in indexeddb_store.js:

        openRequest.onupgradeneeded = function(ev) {
            createStores(ev.target.result, reqIndexArray, self.metaStoreName);
            updated = true;
        };

If the above case happens, neither the callback nor the errback passed to open will be called.

I've not experienced this, but from just looking at the code it looks like it might be a bug. (If it's not, maybe a comment could explain why the callback/errback is not called.) What does update affect?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant