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

If you do that then EventTarget doesn't show up on the prototype chain.

(It's a shame that WebIDL doesn't separate classes from interfaces.
You should only be able to inherit classes and implement interfaces)

On Thu, Oct 10, 2013 at 4:55 PM, Sreeram Ramachandran
<sreeram@google.com> wrote:
> On Tue, Oct 1, 2013 at 7:06 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>> 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....
>
> Can we instead use
> http://www.w3.org/TR/WebIDL/#idl-implements-statements, so the new
> spec has:
>     partial interface Performance {
>        ...
>     }
>     Performance implements EventTarget;
>
> So, window.performance.addEventListener(...) is still possible.
>

Received on Friday, 11 October 2013 00:00:13 UTC