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

feat: add close/onclose event to fakeIndexedDatabase. fixed #50 #87

Closed
wants to merge 1 commit into from

Conversation

snowyu
Copy link

@snowyu snowyu commented Aug 16, 2023

No description provided.

@dumbmatter
Copy link
Owner

Sorry for the late reply!

The close event is only supposed to fire in abnormal circumstances, not every time a database closes. So this PR is not following the spec.

#50 is asking for a non-standard API to trigger this abnormal circumstance (and therefore fire a close event). Which is a good idea, I just haven't done it because it requires very carefully making sure I do it in the correct way. Same with #51.

@dumbmatter dumbmatter closed this May 20, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants