W3C home > Mailing lists > Public > public-device-apis@w3.org > May 2010

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

From: Max Froumentin <maxfro@opera.com>
Date: Mon, 10 May 2010 10:11:45 +0200
Message-ID: <4BE7BFC1.1050803@opera.com>
To: "Tran, Dzung D" <dzung.d.tran@intel.com>
CC: "public-device-apis@w3.org" <public-device-apis@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:43 UTC