Re: feedback on The System Information API W3C Editor's Draft 05 May 2010

On 06/05/2010 18:20, Tran, Dzung D wrote:
> I should have following this more closely but I just noticed that the
> CPU section is not accurate as it states in the description as:
>
> -------------- This section defines interfaces that expose the
> system's CPU information, including type, specifications, current
> system load information.

True, that's not quite accurate. How about:

This section defines interfaces that expose the system's
CPU information: description and current load information.

> Which is inconsistent with the interface which is only for system
> load: -------------- [NoInterfaceObject] interface CPU :
> SystemProperty { readonly attribute float load; };
>
> Can we make this consistent by adding back the CPUID attribute?
>
> Such as: -------------- [NoInterfaceObject] interface CPU :
> SystemProperty { readonly attribute float load; readonly attribute
> long cpuid; };

id is actually there, since CPU inherits from SystemProperty. So all in 
all you have the following:

float load
String? id
String? info

Perhaps it isn't explicit enough?

Max.

Received on Monday, 10 May 2010 08:12:25 UTC