This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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;
If the spec goes anywhere, this might be worth doing. Closing for now, though, since the spec seems dead.
spec did not go anywhere