Recently in the Lu Linguong teacher's "HTML5 and CSS3 authoritative guide" in the process, found that some of the attributes are obsolete, some of the following summary:
1.IndexedDB database things IDbTransaction two things state:
1) Read-only transaction (IDBTRANSACTION.READ_ONLY)
2) Read and write Things (Dbtransaction.read_write)
In real-world development, if such a call is incorrect, for example:
var tx=idb.transaction ([storename],idbtransaction.read_only) or
var tx=idb.transaction ([Storename],idbtransaction.read_write)
The correct wording:
var tx=idb.transaction ([StoreName], "readonly") or
var tx=idb.transaction ([StoreName], "ReadWrite")
2.BlobBuilder object is deprecated
var obuilder = new Blobbuilder () var afileparts = ["<a id=\" a\ "><b id=\" b\ ">hey!<\/b><\/a>"];o Builder.append (Afileparts[0]); var omyblob = Obuilder.getblob ("Text\/xml"); The Blob
Can be written like this:
var afileparts = ["<a id=\" a\ "><b id=\" b\ ">hey!<\/b><\/a>"];var Omyblob = new Blob (Afileparts, { "Type": "Text\/xml"}); The Blob
More information can be queried: Blob
HTML5 Study Notes