On Thu, 2015-02-12 at 16:15 -0800, Nat Duca wrote: > As I think about it, maybe there shouldn't be any index/etc getters and > only an AsSequence(). Eg: > > interface LazyPerformanceEntryList { > bool HasEntryNamed(string); > PerformanceEntryList AsList(); > }
Note that we already have on the window.performance object: [[ PerformanceEntryList getEntries(); PerformanceEntryList getEntriesByType(DOMString entryType); ]] http://w3c.github.io/performance-timeline/#sec-window.performance-attribute so, at least for consistency, I'd suggest something like: interface LazyPerformanceEntryList { bool HasEntryType(string); PerformanceEntryList getEntries(); PerformanceEntryList getEntriesByType(DOMString entryType); } Philippe