Skip to content

Commit 03c2492

Browse files
Normalize negative zero
1 parent 7ff900f commit 03c2492

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
@@ -6406,6 +6406,9 @@ steps may throw an exception.
64066406
: If [=ECMAScript/Type=](|input|) is Number
64076407
::
64086408
1. If |input| is NaN then return invalid.
6409+
6410+
1. If |input| is -0 (negative zero), then return a new [=/key=] with [=key/type=] *number* and [=key/value=] 0 (zero).
6411+
64096412
1. Otherwise, return a new [=/key=] with
64106413
[=key/type=] *number* and [=key/value=]
64116414
|input|.
@@ -6781,6 +6784,7 @@ For the revision history of the second edition, see [that document's Revision Hi
67816784
* 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))
67826785
* Added <a href="#accessibility">Accessibility considerations</a> section. ([Issue #327](https://github.com/w3c/IndexedDB/issues/327))
67836786
* Used [[infra]]'s list sorting definition. ([Issue #346](https://github.com/w3c/IndexedDB/issues/346))
6787+
* Added normalization for negative zero for keys. ([Issue #375](https://github.com/w3c/IndexedDB/issues/375))
67846788

67856789
<!-- ============================================================ -->
67866790
# Acknowledgements # {#acknowledgements}

0 commit comments

Comments
 (0)