- From: Ms2ger <ms2ger@gmail.com>
- Date: Mon, 21 Jan 2013 15:31:30 +0100
- To: "public-webapps@w3.org" <public-webapps@w3.org>
Hi,
The specification has the following IDL:
interface IDBRequest : EventTarget {
// …
readonly attribute enum readyState;
// …
};
However, "enum" is not a type. The correct syntax would be something like
enum IDBReadyState { "pending", "done" };
interface IDBRequest : EventTarget {
// …
readonly attribute IDBReadyState readyState;
// …
};
HTH
Ms2ger
Received on Monday, 21 January 2013 14:31:59 UTC