W3C home > Mailing lists > Public > public-web-perf@w3.org > May 2011

[Resource Timing] Feedback on the IDL

From: James Simonsen <simonjam@chromium.org>
Date: Thu, 19 May 2011 12:34:16 -0700
Message-ID: <BANLkTimYj68g-kLsbXxqWdMi+0RO5+b+qg@mail.gmail.com>
To: public-web-perf <public-web-perf@w3.org>
I took a pass through the IDL for Resource Timing. I have a few suggestions:

1. For the PerformanceResourceTimingList, I think we should copy the IDL
from another list type. An example is StyleSheetList from here:


Namely, we should have a function called item() that returns the given entry
in the list.

2. For onbufferfull, I think the name should include Resource Timing
somewhere, so it matches the functions.

Alternatively, have we considered putting all of the Resource Timing
functions in their own namespace under performance? It would cut down on the

3. For getResourceTimingsByLocation, I think we should use a DOMString for
the argument instead of a Location. That seems to be how other places pass
in URLs, like window.open(). The variable name should be url instead of
location too.

Received on Thursday, 19 May 2011 19:34:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:01:08 UTC