W3C home > Mailing lists > Public > public-web-perf@w3.org > March 2011

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

From: Jonas Sicking <jonas@sicking.cc>
Date: Fri, 18 Mar 2011 09:12:15 -0700
Message-ID: <AANLkTikajD74RixVXaQu60P5pbdXMGxGO7DYFV4Um5MP@mail.gmail.com>
To: Tony Gentilcore <tonyg@google.com>
Cc: "public-web-perf@w3.org" <public-web-perf@w3.org>, Cameron McCormack <cam@mcc.id.au>
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

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