Re: [WebIDL] NoInterfaceObject and access to constants

2010-06-15 Thread Simon Pieters
On Tue, 15 Jun 2010 16:56:31 +0200, Nikunj Mehta wrote: Hi all, I am trying to provide access to constants defined in IndexedDB interfaces. For example: interface IDBRequest : EventTarget { void abort (); const unsigned short INITIAL = 0; const unsigned short LOADING = 1;

[WebIDL] NoInterfaceObject and access to constants

2010-06-15 Thread Nikunj Mehta
Hi all, I am trying to provide access to constants defined in IndexedDB interfaces. For example: interface IDBRequest : EventTarget { void abort (); const unsigned short INITIAL = 0; const unsigned short LOADING = 1; const unsigned short DONE = 2; readonly attribute unsigned s