Closed zizxzy closed 1 year ago
Hey @zizxzy - this repo is about the specification. It sounds like you're having trouble with the implementation. Consider using a peer support forum like StackOverflow. If you think you're seeing an implementation-specific issue, file a bug against the specific browser (Firefox, Chrome, Safari, Edge, etc).
In your particular case, if you're not seeing a success
or error
event from the deleteDatabase()
call it is likely that there is an existing connection to the database. You can observe this by listening for a blocked
event against the request, and ensure that the open connection is closed, either by closing it immediately after you're done using it, or in response to a versionchange
event fired at the connection.
When I use the following code to create a new IndexedDB on my Edge browser.
And then I use the following code to output all database.
But when I use the following code to delete database,it do not work.
After a long time, there is still no output 'delete success'.