- From: Arvind Jain <arvind@google.com>
- Date: Sun, 17 Aug 2014 13:46:05 -0700
- To: Boris Zbarsky <bzbarsky@mit.edu>, Philippe Le Hégaret <plh@w3.org>
- Cc: public-web-perf <public-web-perf@w3.org>
So should I add the toJSON() method to PerformanceResourceTiming object and define is as: toJSON() method: Returns a json object representing the PerformanceResourceTiming object. In fact should I define it on PerformanceEntry itself (as well as on window.performance.timing) to cover all Performance objects? Arvind On Thu, Aug 7, 2014 at 2:23 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote: > On 8/7/14, 11:28 AM, Arvind Jain wrote: >> >> toJSON method is not supposed to be there according to the >> specification. Is it ok that way? > > > No, since every implementation ships it or an equivalent. Right now a > browser implementing the spec as written would end up not web-compatible. > > -Boris
Received on Sunday, 17 August 2014 20:46:32 UTC