W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

[IndexedDB] IDBKeyRange should have static functions

From: Ms2ger <ms2ger@gmail.com>
Date: Mon, 21 Jan 2013 08:57:50 +0100
Message-ID: <50FCF4FE.1020301@gmail.com>
To: "public-webapps@w3.org" <public-webapps@w3.org>
Hi all,

 From the examples in the IDB specification (in [1], for example) and 
from existing implementations, it appears that the functions on the 
IDBKeyRange interface (only, lowerBound, upperBound and bound) should be 
static. However, there is no actual normative requirement to that 
effect; instead, the IDL snippet requires those functions to only be 
callable on IDBKeyRange instances. [2]

If this is caused by a bug in ReSpec, I suggest that either ReSpec is 
fixed or the spec moves away from ReSpec to a tool that doesn't limit 
what can be specified. In any case, an insufficient tool can not be used 
as an excuse for an incorrect specification, and I doubt we could 
publish a Rec without this shortcoming being addressed.

HTH
Ms2ger

[1] 
https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#key-generator-concept
[2] 
https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#idl-def-IDBKeyRange
Received on Monday, 21 January 2013 07:58:20 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:57 GMT