open method
The open() method of the IDBFactory interface requests opening a
connection to a database.
The method returns an IDBOpenDBRequest object immediately, and performs
the open operation asynchronously.
If the operation is successful, a success event is fired on the request
object that is returned from this method, with its result attribute set
to the new IDBDatabase object for the connection.
May trigger upgradeneeded, blocked or versionchange events.
Implementation
external IDBOpenDBRequest open(
String name, [
int version,
]);