Bug 821977 - ObjectWrapper.jsm needs to provide |type| property for the new blob. r=sicking

This commit is contained in:
Gene Lian 2012-12-15 18:09:02 +08:00
parent 60ef034868
commit 6cb9952044

View File

@ -43,7 +43,7 @@ this.ObjectWrapper = {
{ name: aObject.name,
type: aObject.type });
} else if (kind == "blob") {
return new aCtxt.Blob([aObject]);
return new aCtxt.Blob([aObject], { type: aObject.type });
} else if (kind == "primitive") {
return aObject;
}