W3C home > Mailing lists > Public > public-web-perf@w3.org > October 2013

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

From: Jonas Sicking <jonas@sicking.cc>
Date: Thu, 10 Oct 2013 16:59:12 -0700
Message-ID: <CA+c2ei9gi=du7+C3eXDQhTonRYO8pfrRF6sy85JAykedoX7bvw@mail.gmail.com>
To: Sreeram Ramachandran <sreeram@google.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, Arvind Jain <arvind@google.com>, Jatinder Mann <jmann@microsoft.com>, public-web-perf <public-web-perf@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:37 UTC