Skip to content

Commit 683149f

Browse files
Normalize negative zero
1 parent 5b4184c commit 683149f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6430,6 +6430,9 @@ steps may throw an exception.
64306430
: If [=/Type=](|input|) is Number
64316431
::
64326432
1. If |input| is NaN then return invalid.
6433+
6434+
1. If |input| is -0 (negative zero), then return a new [=/key=] with [=key/type=] *number* and [=key/value=] 0 (zero).
6435+
64336436
1. Otherwise, return a new [=/key=] with
64346437
[=key/type=] *number* and [=key/value=]
64356438
|input|.
@@ -6805,6 +6808,7 @@ For the revision history of the second edition, see [that document's Revision Hi
68056808
* Specified [[#transaction-scheduling]] more precisely and disallow starting read/write transactions while read-only transactions with overlapping scope are running. ([Issue #253](https://github.com/w3c/IndexedDB/issues/253))
68066809
* Added <a href="#accessibility">Accessibility considerations</a> section. ([Issue #327](https://github.com/w3c/IndexedDB/issues/327))
68076810
* Used [[infra]]'s list sorting definition. ([Issue #346](https://github.com/w3c/IndexedDB/issues/346))
6811+
* Added normalization for negative zero for keys. ([Issue #375](https://github.com/w3c/IndexedDB/issues/375))
68086812

68096813
<!-- ============================================================ -->
68106814
# Acknowledgements # {#acknowledgements}

0 commit comments

Comments
 (0)