mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Bug 821977 - ObjectWrapper.jsm needs to provide |type| property for the new blob. r=sicking
This commit is contained in:
parent
8f531dd917
commit
1f23b55473
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user