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

Mention null in IDBVersionChangeEvent.newVersion #20738

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

jespertheend
Copy link
Contributor

Description

IDBVersionChangeEvent.newVersion can return null when the database is being deleted.

Motivation

I noticed one of my version change events had newVersion set to null and I was wondering under which conditions this could be the case.

Additional details

The spec mentions this value being null as well.

Related issues and pull requests

@jespertheend jespertheend requested a review from a team as a code owner September 14, 2022 22:06
@jespertheend jespertheend requested review from sideshowbarker and removed request for a team September 14, 2022 22:06
@github-actions github-actions bot added the Content:WebAPI Web API docs label Sep 14, 2022
@github-actions
Copy link
Contributor

Copy link
Collaborator

@wbamberg wbamberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thank you @jespertheend !

@wbamberg wbamberg merged commit 4ae4a5c into mdn:main Sep 15, 2022
himanshugarg pushed a commit to himanshugarg/content that referenced this pull request Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants