[whatwg] DOM Storage feedback
Jonas Sicking
jonas at sicking.cc
Tue Jan 13 10:32:16 PST 2009
On Tue, Jan 13, 2009 at 4:48 AM, Anne van Kesteren <annevk at opera.com> wrote:
> On Tue, 13 Jan 2009 13:44:22 +0100, Jonas Sicking <jonas at sicking.cc> wrote:
>>
>> 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.
>
> alert() requires it.
How so? I couldn't imagine how a site could depend on that.
That said, this did make me think about document.write, where we do
seem to display 'null' rather than empty string. So this might be an
exception.
> Besides that I believe we (Opera) specifically did it
> for methods here and there to be more compatible with Internet Explorer and
> make sites work better.
Do you know of any sites worked better because of the change? Or
indeed that were affected at all by the change?
/ Jonas
More information about the whatwg
mailing list