Bug 16233 - Wrong description for lowerBound() and upperBound() methods
Wrong description for lowerBound() and upperBound() methods
Status: RESOLVED FIXED
Product: WebAppsWG
Classification: Unclassified
Component: Indexed Database API
unspecified
PC Windows NT
: P2 normal
: ---
Assigned To: This bug has no owner yet - up for the taking
public-webapps-bugzilla
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-06 02:19 UTC by Israel Hilerio [MSFT]
Modified: 2012-03-07 02:20 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Israel Hilerio [MSFT] 2012-03-06 02:19:17 UTC
The spec currently says:

* lowerBound - Creates and returns a new key range with lower set to lower, 
lowerOpen set to open, upper set to undefined and and upperOpen set to true.
* upperBound - Creates and returns a new key range with lower set to undefined, lowerOpen set to true, upper set to value and and upperOpen set to open.

It should say the following in order to match the interface definition (change lower to bound and value to bound, respectively):

* lowerBound - Creates and returns a new key range with lower set to bound, lowerOpen set to open, upper set to undefined and and upperOpen set to true.
* upperBound - Creates and returns a new key range with lower set to undefined, lowerOpen set to true, upper set to bound and and upperOpen set to open.
Comment 1 Jonas Sicking 2012-03-07 02:20:37 UTC
Fixed:

http://dvcs.w3.org/hg/IndexedDB/rev/d98bd946a997