Re: Notification for new navigation timing entries

On Fri, Feb 13, 2015 at 10:45 AM, Nat Duca <nduca@google.com> wrote:

> interface LazyPerformanceEntryList {
>>   bool HasEntryType(string);
>>   PerformanceEntryList getEntries();
>>   PerformanceEntryList getEntriesByType(DOMString entryType);
>> }
>>
> This sounds awesome. I updated the doc with this text.
>

Would it also make sense to expose getEntriesByName(DOMString entryName)?
For example, I have an observer for "subresource" entryType, but I only
care about "widget.com/thing" and it'd be nice to be able to skip iterating
over all the ResourceTiming objects each time to check for it?

Received on Friday, 13 February 2015 18:50:32 UTC