Integrate suggestion from review to improve consistency with existing code.
2 * Expects a blob. Returns an object containing the size, type.
4 onmessage = function(event) {
7 var rtnObj = new Object();
9 rtnObj.size = file.size;
10 rtnObj.type = file.type;