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

IDBObjectStore's constructor should be responsible for messaging the IndexedDB thread #25323

Open
rasviitanen opened this issue Dec 18, 2019 · 0 comments

Comments

@rasviitanen
Copy link
Contributor

@rasviitanen rasviitanen commented Dec 18, 2019

When creating an IDBObjectStore in IDBDatabase's CreateObjectStore function, a message is sent to the idb thread that makes sure that we create/open a store in our database as well. It makes more sense to send this message from the constructor of IDBObjectStore.

Files
compontents/script/dom/idbdatabase.rs
compontents/script/dom/idbobjectstore.rs

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.