- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Wed, 30 May 2012 17:32:33 -0400
- To: public-script-coord@w3.org
On 5/30/12 5:30 PM, Travis Leithead wrote: > The problem we ran into was that other implementations didn't properly support WebIDL [yet], and so a simple JSON.stringify(...) would work in those browsers but not in IE9 Specifically, it would work in Chrome and Safari and Opera, but not in IE or Gecko. Might have been nice if you'd given us a heads-up that you were planning to make it work in IE too, so we could do it on our end... ;) > The larger question (in my mind) is whether toJSON extensions should get syntactic sugar in WebIDL or not. Since they are so similar (in principle) to toString extensions, I'd argue that it would be a good idea. Cameron, what do you think? Fwiw, this would make sense to me. -Boris
Received on Wednesday, 30 May 2012 21:33:03 UTC