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>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12798

--- 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.3.1 : Wednesday, 8 May 2013 19:30:03 UTC