Re: [ResourceTiming] onresourcetimingbufferfull attribute type

I don't recall any reason for why we chose Function and not EventListener.
Christophe, could you point me to a spec that uses EventListener?

Arvind


On Wed, Jul 17, 2013 at 2:15 PM, James Simonsen <simonjam@google.com> wrote:

> 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 Thursday, 18 July 2013 02:06:35 UTC