Re: [WebIDL] toJSON

David Bruant wrote:
> Le 30/05/2012 21:40, Travis Leithead a écrit :
>> IE9 added a native toJSON method on the window.performance object in order to allow simple JSON of that accessor property to work nicely :)
> I have mixed feelings on this news. On one hand I think it's a brilliant
> idea, specifically for this property which holds a lot of properties
> itself,

Yes, this is good and it should be spec'ed.

>   on the other hand, I wonder if it's part of any standard.
> Is IE9 the only browser who did add a toJSON to window.performance? If
> no, are all implementations consistent with one another?

Hey, we can add one in Gecko. Would be happy to if it's spec'ed.

> I really think it's a brilliant idea. I just wish it was discussed in
> standards mailing-lists first :-)

That's fair, but let's talk now. Better late than never!

/be

>
> David
>
> [1]
> http://longtermlaziness.wordpress.com/2012/03/14/web-technologies-are-implementation-and-content-driven/
>

Received on Wednesday, 30 May 2012 21:16:44 UTC