W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2009

[whatwg] DOM Storage feedback

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 14 Jan 2009 10:37:08 +1100
Message-ID: <20090113233707.GE30640@arc.mcc.id.au>
Jonas Sicking:
> I talked with Cameron a while ago about what the default behavior
> should be for null. We couldn't find any functions that required that
> null be treated as "null", but there are several examples of functions
> that require that null be treated as the empty string.

I began testing all attributes and operations with DOMString arguments
from a selection of specs for their behaviour wrt null and undefined:


Each pair of characters in the column for a browser is the behaviour for
null and undefined, respectively.  It?s nowhere near complete, though
you can see that there are some operations arguments and attributes that
stringify null to "null" (?S? in the column).

Cameron McCormack ? http://mcc.id.au/
Received on Tuesday, 13 January 2009 15:37:08 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:09 UTC