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

Re: [ResourceTiming] onresourcetimingbufferfull attribute type

From: James Simonsen <simonjam@google.com>
Date: Wed, 17 Jul 2013 14:15:57 -0700
Message-ID: <CAPVJQikO-+xMiXUeeu3hAe+UMVWkMPp-oguL7bTZeo_cSXvyMQ@mail.gmail.com>
To: Christophe Dumez - SISA <ch.dumez@partner.samsung.com>
Cc: "public-web-perf@w3.org" <public-web-perf@w3.org>, "arvind@google.com" <arvind@google.com>
I was hoping someone else would chime in with a reason. If there isn't one,
we should just use EventListener like everywhere else.

James


On Wed, Jul 10, 2013 at 2:45 AM, Christophe Dumez - SISA <
ch.dumez@partner.samsung.com> wrote:

>  Hi,
>
> According to the latest editor draft [1] of the Resource Timing API, the
> Performance.onresourcetimingbufferfull attribute should be of type
> 'Function'. Other DOM objects seem to use the 'EventListener' type (and
> inherit EventTarget) for similar purposes.
>
> Is there any reason why onresourcetimingbufferfull is not an EventListener
> and why the Performance does not inherit EventTarget?
>
> Kr,
> Christophe DUMEZ
>
> [1]
> http://www.w3c-test.org/webperf/specs/ResourceTiming/#extensions-performance-interface
>
Received on Wednesday, 17 July 2013 21:16:24 UTC

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