Re: review of Navigation Timing's use of Web IDL

The way things are specced now something like:

performance = "hi";

Throws since "hi" isn't a Performance object. Instead the property
should be marked readonly and replaceable.

/ Jonas

On Friday, March 18, 2011, Tony Gentilcore <tonyg@google.com> wrote:
>> (I think the attribute should be read only, too, if it doesn’t make
>> sense to be able to assign to window.performance.)
>
> We actually debated this quite a bit and decided it best to avoid
> readonly since performance is a common English word and existing sites
> might be using var performance or window.performance for their own
> purpose.
>
> Some more discussion:
> http://lists.w3.org/Archives/Public/public-web-perf/2010Dec/0027.html
>
>

Received on Friday, 18 March 2011 16:19:06 UTC