W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2011

[Bug 12798] Default to [TreatNullAs=EmptyString]

From: <bugzilla@jessica.w3.org>
Date: Fri, 17 Jun 2011 12:14:10 +0000
To: public-script-coord@w3.org
Message-Id: <E1QXXwA-0000AB-RW@jessica.w3.org>

--- Comment #17 from Lachlan Hunt <lachlan.hunt@lachy.id.au> 2011-06-17 12:14:10 UTC ---
There are cases like document.write(null) and alert(null), where stringifying
to "null" is better, particularly where those methods are used for quick
debugging to check what the value of a variable is.  If they stringify to "",
then the output would be misleading for developers which, based on existing
widespread behaviour, is to expect "null".

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Friday, 17 June 2011 12:14:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:03 UTC