- From: Brett Zamir <notifications@github.com>
- Date: Mon, 06 Mar 2017 19:45:21 -0800
- To: w3c/IndexedDB <IndexedDB@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 7 March 2017 03:45:55 UTC
I see one other issue... The current number definition states the following: > A [=key generator=] has a <dfn>current number</dfn>. The > [=key generator/current number=] is always a positive integer less > than or equal to 2<sup>53</sup> (9007199254740992). However the steps to "generate a key" and "possibly update the key generator" both allow for a current number to be set to a number one higher than 9007199254740992 as does the following: > When the [=key generator/current number=] of a key generator reaches above the > value 2<sup>53</sup> (9007199254740992) any attempts to use the > key generator to generate a new [=/key=] will result in a > "{{ConstraintError}}" {{DOMException}}. I believe the current number definition ought to be reworded, e.g., like this: >> A [=key generator=] has a <dfn>current number</dfn>. The > [=key generator/current number=] is always a positive integer less > than or equal to 2<sup>53</sup> + 1 (9007199254740993). -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/IndexedDB/pull/153#issuecomment-284613433
Received on Tuesday, 7 March 2017 03:45:55 UTC