Re: [w3c/IndexedDB] Exceptions during database upgrade no longer closes the connection (Issue #473)

Zaggy1024 left a comment (w3c/IndexedDB#473)

It seems like this step actually needs to be inserted after abort a transaction 7.3.3, otherwise the following testcase throws an error:

```js
const dbName = "test";
const req = indexedDB.open(dbName, 1);

req.onupgradeneeded = () => {
  req.transaction.abort();
  console.log(req.result.error);
  console.log(req.result.name);
};
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/473#issuecomment-4002093489
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/IndexedDB/issues/473/4002093489@github.com>

Received on Thursday, 5 March 2026 04:23:42 UTC