- From: <bugzilla@wiggum.w3.org>
- Date: Thu, 24 Sep 2009 17:06:46 +0000
- To: public-webapps@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7720 Summary: Redundant definition of openDatabase methods Product: WebAppsWG Version: unspecified Platform: All URL: http://dev.w3.org/html5/webdatabase/#databases OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Web Database AssignedTo: ian@hixie.ch ReportedBy: nikunj.mehta@oracle.com QAContact: member-webapi-cvs@w3.org CC: mike@w3.org, public-webapps@w3.org There seems to be no difference between the openDatabase methods defined in WindowDatabase and WorkerUtilsDatabase. It is 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; -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
Received on Thursday, 24 September 2009 17:06:54 UTC