- From: Cameron McCormack <cam@mcc.id.au>
- Date: Tue, 31 May 2011 17:09:41 +1200
- To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Cc: public-webapps <public-webapps@w3.org>
Lachlan Hunt: > WebIDL currently specifies in the ECMAScript to IDL type mapping > [1] that null stringifies to "null" by default, unless otherwise > specified with [TreatNullAs=EmptyString]. … > Recently, in order to resolve a site compatibility issue caused by > us stringifying to "null" for some properties, we made all DOMString > APIs consistent in their handling of null, such that they now > stringify to an empty string. We believe this is compatible with > other implementations for all other attributes and properties that > we are aware of. > > But this fix also had the result of changing the way we handled null > in selectors-api, for which we used to stringify as "null". > > I've been informed that Cameron has plans to update WebIDL to make > this the default too, but hasn't yet done so. FYI, I made that change yesterday. -- Cameron McCormack ≝ http://mcc.id.au/
Received on Tuesday, 31 May 2011 05:10:12 UTC