Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2a6fd54

Browse files
old and new
1 parent 57ff060 commit 2a6fd54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎6-data-storage/03-indexeddb/article.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ let deleteRequest = indexedDB.deleteDatabase(name)
106106
// deleteRequest.onsuccess/onerror tracks the result
107107
```
108108

109-
```warn header="We can't open an older version of the database"
109+
```warn header="We can't open a database using an older open call version"
110110
If the current user database has a higher version than in the `open` call, e.g. the existing DB version is `3`, and we try to `open(...2)`, then that's an error, `openRequest.onerror` triggers.
111111
112112
That's rare, but such a thing may happen when a visitor loads outdated JavaScript code, e.g. from a proxy cache. So the code is old, but his database is new.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /