Skip to content

Commit

Permalink
Editorial: Add event definition for 'close' (#384)
Browse files Browse the repository at this point in the history
Editorial: Add event definition for 'close'

A reference to a 'close' event turned into a link back in d2bc4db but
there wasn't a local definition - it ended up linking into HTML! This
is now triggering a Bikeshed warning - yay!

Add a minimal local definition for the event type, like the others.

Co-authored-by: Brett Zamir <[email protected]>
  • Loading branch information
inexorabletash and brettz9 authored Jun 8, 2022
1 parent e067b06 commit e196c63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -500,11 +500,13 @@ running.
A [=/connection=]'s [=get the parent=] algorithm returns
null.

A <dfn event>`versionchange`</dfn> will be fired at an open
An event with type <dfn event>`versionchange`</dfn> will be fired at an open
[=/connection=] if an attempt is made to upgrade or delete the
[=database=]. This gives the [=/connection=] the opportunity to close
to allow the upgrade or delete to proceed.

An event with type <dfn event>`close`</dfn> will be fired at a [=/connection=] if the connection is [=/close a database connection|closed=] abnormally.

</div>


Expand Down

0 comments on commit e196c63

Please sign in to comment.