I tried out the image blog storage in IndexDB talked about in this article
But with Chrome V23 I am getting this error:
Uncaught Error: DataCloneError: DOM IDBDatabase Exception 25 base.js:52
putElephantInDbbase.js:52
(anonymous function)
Here is the code snippet: (blob is an xhr.responseType = "blob" that holds elephant.png (as per the example at the top). The error happens on the last line.
var transaction = db.transaction(["elephants"], "readwrite");
var store = transaction.objectStore("elephants");
var req = store.put(blob, "image");
I am assuming binary blob PUT is not yet supported, correct? (It does work in FireFox 17, and IE 10)