- From: Cameron McCormack <cam@mozilla.com>
- Date: Tue, 11 Oct 2011 16:30:03 +1100
- To: Robin Berjon <robin@berjon.com>
- CC: David Flanagan <dflanagan@mozilla.com>, www-dom@w3.org
On 12/09/11 8:12 PM, Robin Berjon wrote: > I would say that if someone passes -1 to deleteData(), they might not > mean 2^32-1 but they very likely mean "up to the end". Given the > rarity of DOM strings 2^32 long, it's not an unreasonable > conversion. If that is the case, and we want to explicitly allow -1 to mean the end of the string, it might be better write that using a signed integer type and explicitly handling -1 in that way.
Received on Tuesday, 11 October 2011 06:30:06 UTC