Aurora VS Canary Map and Set

2012-06-14 Thread Andrea Giammarchi
Hi again, here few inconsistencies I have found with latest version, for Mac, of these two dev/channel browsers. Map#set(key, value) Aurora: Map#set() returns undefined in any case. After, if value is undefined/void 0, Map#has(key) will return true and Map#get(key) will return undefined/void

Re: Aurora VS Canary Map and Set

2012-06-14 Thread Mark S. Miller
On Thu, Jun 14, 2012 at 6:00 PM, Andrea Giammarchi andrea.giammar...@gmail.com wrote: Hi again,    here few inconsistencies I have found with latest version, for Mac, of these two dev/channel browsers. Map#set(key, value)   Aurora: Map#set() returns undefined in any case. After, if value is

Re: Aurora VS Canary Map and Set

2012-06-14 Thread Andrea Giammarchi
To summarize, Aurora is correct everywhere while Canary isn't ... and there's nothing is specs about removing the key if the value is undefined. I take Aurora as the right one then, thanks a lot! On Thu, Jun 14, 2012 at 12:56 PM, Mark S. Miller erig...@google.com wrote: On Thu, Jun 14, 2012 at

Re: Aurora VS Canary Map and Set

2012-06-14 Thread David Bruant
Le 14/06/2012 12:56, Mark S. Miller a écrit : On Thu, Jun 14, 2012 at 6:00 PM, Andrea Giammarchi andrea.giammar...@gmail.com wrote: Hi again, here few inconsistencies I have found with latest version, for Mac, of these two dev/channel browsers. Map#set(key, value) Aurora: Map#set()

Re: Aurora VS Canary Map and Set

2012-06-14 Thread Andrea Giammarchi
I have written tests already so if I have to change few things and push to test262 just let me know, thanks. br On Thu, Jun 14, 2012 at 2:46 PM, David Bruant bruan...@gmail.com wrote: Le 14/06/2012 12:56, Mark S. Miller a écrit : On Thu, Jun 14, 2012 at 6:00 PM, Andrea Giammarchi

Re: Aurora VS Canary Map and Set

2012-06-14 Thread Brendan Eich
Mark S. Miller wrote: OTOH, in alphas, betas, canarys, nightlys, or whatever prior to official release, it's also good to experiment with changes one is thinking of proposing -- in order to gain experience first. I doubt that is what is happening here, but if it is, we should not discourage it.