You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let result be the result of running the steps for deleting a database, with the origin of the IDBEnvironment used to access this IDBFactory, name, and request.
If result is an error set the error of request to result and dispatch an event at request. The event must use the Event interface and set the type attribute to "error". The event does bubble but is not cancelable.
But the "steps for deleting a database" never return an error. This may be legacy from timeout and/or sync behavior?
The text was updated successfully, but these errors were encountered:
Is this just an implementation bug that this actually does throw? I'll double-check, but I'm pretty sure some engines (Edge iirc) throw if you rapidly open/delete databases with the same name several times.
We may want to keep this in the deleteDatabase() steps, but add something into "steps for deleting a database" to allow implementations to generate errors.
This is similar to the "forced close" addition; in the abstract it should never be needed, but in the real world implementations run into problems and how the errors appear to scripts should be defined.
The steps for
deleteDatabase
start off withBut the "steps for deleting a database" never return an error. This may be legacy from timeout and/or sync behavior?
The text was updated successfully, but these errors were encountered: