WebAPI/DeviceIndexedDB: Difference between revisions

Line 7: Line 7:
DeviceIndexedDB is a modification of IndexedDB.  Here only depicts changes introduced by DeviceIndexedDB.
DeviceIndexedDB is a modification of IndexedDB.  Here only depicts changes introduced by DeviceIndexedDB.


   var request = window.deviceIndexedDB.open("ADeviceDatabase")
   var request = window.mozDeviceIndexedDB.open("ADeviceDatabase")


This function is used to open or create a database.  It returns an DOMRequest, then everything is exactly like what IndexedDB is.
This function is used to open or create a database.  It returns an DOMRequest, then everything is exactly like what IndexedDB is.
Confirmed users
398

edits