- From: Nikunj R. Mehta <nikunj.mehta@oracle.com>
- Date: Mon, 31 Aug 2009 11:11:20 -0700
- To: Web Applications Working Group WG <public-webapps@w3.org>
Received on Monday, 31 August 2009 18:13:53 UTC
There seems to be no difference between the openDatabase methods
defined in WindowDatabase and WorkerUtilsDatabase.
Is it possible to restructure these interfaces differently so that
there is less redundancy?
My proposal is the following IDL:
[Supplemental, NoInterfaceObject]
interface DatabaseAsyncOpen {
Database openDatabase(in DOMString name, in DOMString version, in
DOMString displayName, in unsigned long estimatedSize, in optional
DatabaseCallback creationCallback);
};
Window implements DatabaseAsyncOpen;
[Supplemental, NoInterfaceObject]
interface DatabaseSyncOpen {
DatabaseSync openDatabaseSync(in DOMString name, in DOMString
version, in DOMString displayName, in unsigned long estimatedSize, in
optional DatabaseCallback creationCallback);
};
WorkerUtils implements DatabaseSyncOpen;
WorkerUtils implements DatabaseAsyncOpen;
Nikunj
http://o-micron.blogspot.com
Received on Monday, 31 August 2009 18:13:53 UTC