User talk:Comrade693/Storage Async API Security Review: Difference between revisions

Jump to navigation Jump to search
Line 20: Line 20:
== Exported APIs ==
== Exported APIs ==
* Please provide a table of exported interfaces (APIs, ABIs, protocols, UI, etc.)
* Please provide a table of exported interfaces (APIs, ABIs, protocols, UI, etc.)
** mozIStorageError - represents an error returned
** mozIStoragePendingStatement - gives a handle to the async statement allowing a consumer to cancel the execution
** mozIStorageResultSet - container for a series of mozIStorageRows given to the callback
** mozIStorageRow - holds the data returned from a row obtained from the execution of the async statement
** mozIStorageStatementCallback - An optional listener that will be notified of results, errors, and completion of the execution of the async statement
* Does it interoperate with a web service? How will it do so?
* Does it interoperate with a web service? How will it do so?
** no
* Explain the significant file formats, names, syntax, and semantics.
* Explain the significant file formats, names, syntax, and semantics.
** SQLite binary files (third party library)
* Are the externally visible interfaces documented clearly enough for a non-Mozilla developer to use them successfully?
* Are the externally visible interfaces documented clearly enough for a non-Mozilla developer to use them successfully?
** In the IDL, I hope so (it's hard to judge that being a Mozilla developer).  Documentation on devmo is a little weak.
* Does it change any existing interfaces?
* Does it change any existing interfaces?
** mozIStorageConnection - added an executeAsync method that takes an array of mozIStorageStatements and an optional mozIStorageStatementCallback
** mozIStorageStatement - added an executeAsync method that takes an optional mozIStorageStatementCallback


== Module interactions ==
== Module interactions ==
590

edits

Navigation menu