Skip to content

Commit bfd4953

Browse files
Rename "open a database" algorithm to "open a database connection" (#411)
It's more correct, and symmetric with "close a database connection". Resolves #410.
1 parent 6a52f0b commit bfd4953

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ handler.
11671167
deletion of [=/object stores=] and [=/indexes=] in a [=/database=].
11681168

11691169
An [=/upgrade transaction=] is exclusive. The steps to [=open a
1170-
database=] ensure that only one [=/connection=] to the database is
1170+
database connection=] ensure that only one [=/connection=] to the database is
11711171
open when an [=/upgrade transaction=] is [=transaction/live=].
11721172
The {{IDBOpenDBRequest/upgradeneeded!!event}} event isn't fired, and thus the
11731173
[=/upgrade transaction=] isn't started, until all other
@@ -2206,7 +2206,7 @@ The <dfn method for=IDBFactory>open(|name|, |version|)</dfn> method steps are:
22062206
1. Run these steps [=in parallel=]:
22072207

22082208
1. Let |result| be the result of
2209-
[=/opening a database=], with |storageKey|,
2209+
[=/opening a database connection=], with |storageKey|,
22102210
|name|, |version| if given and undefined
22112211
otherwise, and |request|.
22122212

@@ -4892,12 +4892,12 @@ NOTE:
48924892
<!-- ============================================================ -->
48934893

48944894
<!-- ============================================================ -->
4895-
## Opening a database ## {#opening}
4895+
## Opening a database connection ## {#opening}
48964896
<!-- ============================================================ -->
48974897

48984898
<div algorithm>
48994899

4900-
To <dfn>open a database</dfn> with |storageKey| which requested the [=/database=] to be opened, a database |name|, a database |version|, and a |request|, run these steps:
4900+
To <dfn>open a database connection</dfn> with |storageKey| which requested the [=/database=] to be opened, a database |name|, a database |version|, and a |request|, run these steps:
49014901

49024902
1. Let |queue| be the [=/connection queue=] for |storageKey| and |name|.
49034903

@@ -4969,7 +4969,7 @@ To <dfn>open a database</dfn> with |storageKey| which requested the [=/database=
49694969
</div>
49704970

49714971
<!-- ============================================================ -->
4972-
## Closing a database ## {#closing-connection}
4972+
## Closing a database connection ## {#closing-connection}
49734973
<!-- ============================================================ -->
49744974

49754975
<div algorithm>

0 commit comments

Comments
 (0)