[IndexedDB] Type of IDBRequest.readyState

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