[WebIDL] toJSON

Hi,

My reading of the current state of the spec is that
JSON.stringify(anyEvent) is '{}' which is close to useless. This is true
for any WebIDL compliant object.
ECMAScript 5 introduced JSON and the toJSON property. Could it be
considered to make something useful out of WebIDL compliant objects
using this property?

David

Received on Wednesday, 30 May 2012 17:31:14 UTC