- From: Anne van Kesteren <annevk@opera.com>
- Date: Wed, 18 Feb 2009 16:34:43 +0100
- To: "Lachlan Hunt" <lachlan.hunt@lachy.id.au>, "Rune Lillesveen" <rune@opera.com>
- Cc: "WebApps WG" <public-webapps@w3.org>
On Wed, 18 Feb 2009 15:05:42 +0100, Lachlan Hunt <lachlan.hunt@lachy.id.au> wrote: > [...] We have a number of options: > > 1. null -> "null", undefined -> "undefined" > 2. null -> "", undefined -> "undefined" > 3. null -> "", undefined -> "" (current spec requirement) > > Option #1 is the ECMAScript default, and the default defined by WebIDL. > This is currently implemented by IE8. > > Option #2 is currently implemented by Mozilla. > > Option #3 is currently implemented by Opera and WebKit. So ideally what we do here is simply in line with how we plan to make all APIs that accept strings work (with exceptions). -- Anne van Kesteren http://annevankesteren.nl/
Received on Wednesday, 18 February 2009 15:35:44 UTC