RE: [ResourceTiming] Handling of "resourcetimingbufferfull" events makes no sense

Supporting onresourcetimingbufferfull as an event handler for a simple event, as opposed to just a function pointer, seems like a better design. Looks like we can make that change and not negatively impact our existing implementations with a simple change to the Performance interface definition in Navigation Timing. I don't think we should take updates to a spec in Recommendation state lightly, but I think this one is simple enough to just do.

Does anyone have concerns with making this change? We would probably want to update the Navigation Timing errata, http://www.w3.org/2012/12/navigation-timing-errata.html, with text like the following:

Section 4.4 The window.performance attribute
The Performance object needs to extend EventTarget. Replace "interface Performance" with "interface Performance: EventTarget"

Jatinder

-----Original Message-----
From: Boris Zbarsky [mailto:bzbarsky@MIT.EDU] 
Sent: Tuesday, October 1, 2013 7:06 PM
To: Arvind Jain
Cc: Jatinder Mann; public-web-perf
Subject: Re: [ResourceTiming] Handling of "resourcetimingbufferfull" events makes no sense

On 10/1/13 10:05 PM, Arvind Jain wrote:
> And re. Performance extending EventTarget, do we have to do it?

If you want to fire events at it, then you do....

-Boris

Received on Thursday, 10 October 2013 22:37:26 UTC