Confirmed users
398
edits
(→API) |
|||
| Line 16: | Line 16: | ||
name: "My Applicaiton", | name: "My Applicaiton", | ||
...... | ...... | ||
mozDeviceIndexedDB: { | |||
"database1": { | "database1": { | ||
"store1": { // name of the object store | "store1": { // name of the object store | ||
| Line 32: | Line 32: | ||
} | } | ||
The property named " | The property named "mozDeviceIndexedDB" defines permissions for access control of DeviceIndexedDB databases. The children of "deviceIndexedDB" are names of databases. Databases not in the children of a "deviceIndexedDB" of an App can not be accessed by the App. | ||
The children of a database is names of data stores. Data stores not in the children of a database can not be accessed by the App. The "ObjectStore" property defines whether the App can read or read-write a data store. If the value of "ObjectStore" is "none", it means the App can not read or write the data store, but it can access indices according setting in "index" child of the data store. | The children of a database is names of data stores. Data stores not in the children of a database can not be accessed by the App. The "ObjectStore" property defines whether the App can read or read-write a data store. If the value of "ObjectStore" is "none", it means the App can not read or write the data store, but it can access indices according setting in "index" child of the data store. | ||