W3C home > Mailing lists > Public > public-web-perf@w3.org > July 2012

Re: [User Timing] Integration with Performance Timeline

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 09 Jul 2012 17:06:37 -0400
Message-ID: <4FFB47DD.3070809@mit.edu>
To: public-web-perf@w3.org
On 7/9/12 5:00 PM, James Simonsen wrote:
> I realize part of this was to get the clever behavior of returning a
> PerformanceEntry instead of an array if there's only one, but I think
> that feature will end up confusing users (how are they supposed to code
> for it?). Plus I doubt it's compliant with WebIDL.

Fwiw, it's fine wrt WebIDL if you declare the return type as "object" 
and then have the prose say what actually happens...

-Boris
Received on Monday, 9 July 2012 21:07:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:33 UTC