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 11:26:42 +1100
Message-ID: <20090114002642.GF30640@arc.mcc.id.au>
Jonas Sicking:
> So in the null column an "S" means that it's treated as "null", an "E"
> as "", but what does "N" mean?

"N" means that I was able to determine that null was treated as the
actual null value, rather than converted to a string.

> Yes, there are definitely a lot of "S"s in the null column for
> non-firefox browsers. The question to me is if this is really needed
> for webcompat though. Looking though our bug database I see no
> indication of that, but that's not necessarily a proof.
> If we were able to use "" as the default behavior for null then we
> would be able to get away with much fewer exceptions (so far alert()
> and and possibly write() has been found).

OK.  So what is more important for choosing the default: fewer
exceptions (and thus fewer [Null=?] things polluting the IDL),
consistency with the default stringification behaviour of ECMAScript,
or avoiding the somewhat counterintuitive default behaviour of
converting a valid value of the type to a different value of that type?

Cameron McCormack ? http://mcc.id.au/
Received on Tuesday, 13 January 2009 16:26:42 UTC

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